ostat / vacuum-hose-adapter-openscad

OpenScad vacuum hose adapter generator
https://docs.ostat.com/docs/openscad/hose-adapter
78 stars 19 forks source link

Debug slice feature has confusing numbers #11

Closed akrly closed 2 months ago

akrly commented 3 months ago

Hi,

When I set the "End2 Measurement" to outer the rendered number still displays the inner diameter value Arrows, text are fine. See attached screenshot.

image

ostat commented 2 months ago

Thanks for raising, this should be fixed now. I have also clean up the display as it was a bit of a mess. image

lambtho12 commented 2 months ago

Sorry for offtopic, but how do you display the dimensions like that using openSCAD? Is there a library for it?

akrly commented 2 months ago

Hey, no worries. Unfortunately it's not openSCAD functionality.

You'll find a debug option at the bottom of the config parameters menu. It splits the model if you enable it.

ostat commented 2 months ago

Sorry for offtopic, but how do you display the dimensions like that using openSCAD? Is there a library for it?

Its done creating standard openscad objects in the model. You can use the $preview flag to prevent them being included in the stl. I use a modified version of the UB.scad library to create them. https://github.com/ostat/vacuum-hose-adapter-openscad/blob/main/modules/ub.scad

ostat commented 2 months ago

this is resolved