Skip to content

Draw (WORKPIECE,...) stock as a translucent solid - #4552

Open
alex-pres wants to merge 2 commits into
LinuxCNC:masterfrom
alex-pres:pr-workpiece-solid
Open

alex-pres wants to merge 2 commits into
LinuxCNC:masterfrom
alex-pres:pr-workpiece-solid

Conversation

@alex-pres

@alex-pres alex-pres commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

See #4429

New glcanon.workpiece_opacity option, a float 0..1 defaulting to 0 (outline only), drawing lit faces under the existing wireframe. Every host exposes it.

Added menu option for axis, qt5_graphics also have the option but that is not exposed to UI.

Screenshot 2026-09-15 at 16 57 44

New workpiece_opacity option, a float 0..1 defaulting to 0 (outline only),
drawing lit faces under the existing wireframe. Every host exposes it.
@andypugh

Copy link
Copy Markdown
Collaborator

I like it, but then I suggested it at the Stuttgart meeting. (I am not sure if this is just coincidence)

@hansu

hansu commented Sep 15, 2026

Copy link
Copy Markdown
Member

I like it too!
Only the variable names seems a bit long - maybe they can be shortened to DIA, INNER_DIA, or even D_O, D_I or something like that.

@andypugh

Copy link
Copy Markdown
Collaborator

I like it too! Only the variable names seems a bit long - maybe they can be shortened to DIA, INNER_DIA, or even D_O, D_I or something like that.

"ID" and "OD" are in general use in (for example) technical drawings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants