Nabble removed Mailing-list integration from the Forum.
This killed the Forum. This is now an ARCHIVE.
It is likely Nabble will shutdown in the future.
Dear friends
I never had such a strong learning curve with OpenScad. It is 100% the tool I looked ever.. I can do all my drafts and ideas in a very short time. The only thing I miss is MEASSUREMENTs. As far I could found out there is no convenient way to add meassurement to my constructions So I guess there should be an easy was to export my construction and import it in LibreCad or Freecad (I'm using Mint). I don't need a detailed explanation but the raw steps would be great. Many Thanks Karl P.S. As I focused in trhe beginning I have no CAD experience. I'm coming from programming Sent from the OpenSCAD mailing list archive at Nabble.com. _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to [hidden email] |
I export the file as an STL file and then open it with 3d-Tool Free Viewer it has an excellent measuring capability. Dave
On 20/04/2021 07:49, Karl Exler wrote:
Dear friends _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to [hidden email] |
Thanks a lot for the quick answer.... But as I wrote I'm Linux-User and this tool is only available for Win. BR Am 20.04.21 um 10:12 schrieb Dave:
_______________________________________________ OpenSCAD mailing list To unsubscribe send an email to [hidden email] |
FreeCAD has a measurement tool; you can import the STL(s) into FreeCAD and use that:
https://www.freecadweb.org/ Apparently FreeCAD has an OpenSCAD workbench which allows you to do some OpenSCAD things within FreeCAD. Sent from the OpenSCAD mailing list archive at Nabble.com. _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to [hidden email] |
Also, Sketchup (https://sketchup.com/try-sketchup#for-personal) is a web browser based 3D tool that allows me to insert an STL and make measurements. It's free for personal use. On Tue, Apr 20, 2021 at 4:30 AM David Eccles (gringer) <[hidden email]> wrote: FreeCAD has a measurement tool; you can import the STL(s) into FreeCAD and use that: _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to [hidden email] |
In reply to this post by Karl Exler
Truly measuring from one point to another on a model is close to
impossible, because of the structure of the language. Modules are
black holes; you can't get any information out of them.
However, here's a measuring stick that you can drop into your model. If you position it so that it lines up with the two points, you can read off the dimension. It doesn't have any actual numeric markings; instead, it has black marks every once in a while that you can count. You can set the interval, or it'll automatically pick a power-of-ten interval based on how far away the camera is at refresh. Adding numbers wouldn't be too hard. Note that it's only visible if you set $measure true. module measuringstick(len, interval=pow(10,floor(log($vpd)-1)), center=false) { if (!is_undef($measure) && $measure) { r = 0.5; mark = interval * 0.01; %translate([0, 0, center ? -len/2 : 0]) { for (z=[0:interval:len]) { mark1 = min(len-z, mark/2); if (mark1 > 0) { translate([0,0,z]) color("black") cylinder(r=r, h=mark/2); } z2 = z + mark1; block = min(len-z2, interval-mark); if (block > 0) { translate([0,0,z2]) cylinder(r=r, h=block); } z3 = z2 + block; mark2 = min(len-z3, mark/2); if (mark2 > 0) { translate([0,0,z3]) color("black") cylinder(r=r, h=mark/2); } } } } } //$measure=true; rotate([10,0,0]) measuringstick(100); _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to [hidden email] |
In reply to this post by Karl Exler
And of course as often happens, I remembered something I wanted to
say just as I hit Send...
I know of two ways to truly measure from one point to another, both severely restricted. 1) You can replace the transformation primitives with ones that pass the accumulated transformation down the call tree. From the bottom of the call tree, you can then have access to both a coordinate from higher in the call tree, and a coordinate from the current place in the call tree. That is, if you have a module A that calls B and C, you can measure from a point in A to a point in either B or C, but not from a point in B to a point in C. Ref http://forum.openscad.org/Some-thoughts-on-deriving-world-coordinates-for-objects-td30377.html , which doesn't explicitly provide such a measurement but does *do* such a measurement as part of its demonstration. (Note the arrow from the label to the orbiting cube; its length had to be calculated.) 2) You could do all of your geometry "in user space", in arrays of points. You could then do whatever you want, but you're losing all of OpenSCAD's own geometry processing, except for the final rendering. _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to [hidden email] |
In reply to this post by Karl Exler
I have found a suitable way to apply measurements to my constructions: 1) I use projection() to make make a 2D model from my 3D
construction BR Am 20.04.21 um 08:49 schrieb Karl
Exler:
Dear friends _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to [hidden email] |
Free forum by Nabble | Edit this page |