Skip to content

Instrument Input#24

Merged
chennes merged 2 commits intoFreeCAD:mainfrom
stv0g:add-instrument-input
Apr 25, 2026
Merged

Instrument Input#24
chennes merged 2 commits intoFreeCAD:mainfrom
stv0g:add-instrument-input

Conversation

@stv0g
Copy link
Copy Markdown
Contributor

@stv0g stv0g commented Apr 3, 2026

I got bored of manually measuring and entering dimensions during 3D modelling.

So, I got a Bluetooth-connected caliper and hacked together a new #FreeCAD addon to use it as an input device.

https://codeberg.org/stv0g/InstrumentInput

This addon is relatively fresh. Currently only digital Sylvac calipers are supported.
But more measurement devices could be added later.

For clarification: Is this repo already used by the current version of the AddonManager in FC v1.1?

@stv0g
Copy link
Copy Markdown
Contributor Author

stv0g commented Apr 3, 2026

I just finished a blog post about the new addon:

https://0l.de/blog/2026/04/sylvac-freecad-input/

@PhoneDroid PhoneDroid changed the title Add InstrumentInput [ + ] Instrument Input Apr 4, 2026
@PhoneDroid PhoneDroid self-assigned this Apr 4, 2026
@PhoneDroid PhoneDroid added 💿 𝗔𝗱𝗱𝗼𝗻 In the context of an addon. + Addition of something new. labels Apr 4, 2026
@PhoneDroid
Copy link
Copy Markdown
Member

@stv0g Please contact me at my email to begin the review process.
PhoneDroid.FGL@proton.me

@PhoneDroid PhoneDroid changed the title [ + ] Instrument Input Instrument Input Apr 8, 2026
@chennes
Copy link
Copy Markdown
Member

chennes commented Apr 23, 2026

Hi @stv0g -- it looks to me like this is basically ready to go in, with the exception that the Python package you are using isn't available for Python <= 3.10, so should be removed from those files. This will prevent the Addon from working with older versions of FreeCAD, but that likely won't affect many people.

@stv0g stv0g force-pushed the add-instrument-input branch from b614e6b to 85fd0d4 Compare April 25, 2026 18:58
@stv0g stv0g force-pushed the add-instrument-input branch from 85fd0d4 to 8fdf354 Compare April 25, 2026 19:10
@stv0g
Copy link
Copy Markdown
Contributor Author

stv0g commented Apr 25, 2026

@PhoneDroid I have addressed the review comments which you've provided via E-Mail.

@chennes I lowered the minimal required Python version to 3.10. So we should be fine here.

@github-actions
Copy link
Copy Markdown

🤖 Constraints Bot: regenerated the constraints files and added a commit with the changes

@chennes
Copy link
Copy Markdown
Member

chennes commented Apr 25, 2026

Thanks, @stv0g -- I don't know what issues @PhoneDroid's already flagged, but could you please add a bullet point near the top of your README explaining that this Addon continuously scans for nearby BLE devices when running? Most people will understand that's how it works, but in the interest of transparency it's best to be explicit about it.

@stv0g
Copy link
Copy Markdown
Contributor Author

stv0g commented Apr 25, 2026

@chennes Thanks for the input. I have added such a note in v0.3.1.

@PhoneDroid has raised these points:

Manifest

  • The subdirectory tag should be removed
  • The readme url should be a raw link
  • The description doesn't need 'A FreeCAD addon..'
    as it's only shown inside the context of FreeCAD

Code

  • Use PySide6 instead of PySide for imports
  • You should add SPDX annotations ( see the template )
    ( Btw you still have some left from the template,
    like in the Resources.py file, just update them )

@chennes
Copy link
Copy Markdown
Member

chennes commented Apr 25, 2026

Thanks, @stv0g -- this one, "Use PySide6 instead of PySide for imports", isn't really true, but won't matter until Qt releases Qt7, so you have a bit of time to back it out :). I'll go ahead and add this addon in the meantime, it should be available via the addon manager tomorrow.

@chennes chennes merged commit 4106807 into FreeCAD:main Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

+ Addition of something new. 💿 𝗔𝗱𝗱𝗼𝗻 In the context of an addon.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants