On 2/12/2022 12:21 PM, fred via Discuss wrote:
I've found that the location of an imported STL is based on the origin
from the program which created it,
Yes. The STL specifies the location of the object. That location is
entirely under the control of the program that created the STL.
One could import the STL in question if not locally created,
translate/move it to the desired spot and save for OpenSCAD use.
Yes... but note that if you're doing that translation in OpenSCAD, you
have to just know the right translation to apply.
Got it, thanks.
If I import the STL into TinkerCAD then set the grid to match its X,Y size
and to make sure the Z is set to 0 then I export it and read it into
OpenSCAD it appears right in the center of X,Y and the Z is on 0.
If I make the TinkerCAD grid twice the size of the object then move the
object to the upper-right (setting the X,Y point in the center of the grid)
then importing it into OpenSCAD places everything at 0,0,0 (the primary
quadrant).
On Sat, Feb 12, 2022 at 3:39 PM Jordan Brown openscad@jordan.maileater.net
wrote:
On 2/12/2022 12:21 PM, fred via Discuss wrote:
I've found that the location of an imported STL is based on the origin
from the program which created it,
Yes. The STL specifies the location of the object. That location is
entirely under the control of the program that created the STL.
One could import the STL in question if not locally created,
translate/move it to the desired spot and save for OpenSCAD use.
Yes... but note that if you're doing that translation in OpenSCAD, you
have to just know the right translation to apply.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
I'm going to go out on a limb here and say that if you're using Tinkercad, you may have more resources available to you if you create the entire model in OpenSCAD. One of our makerspace members is a near-artist in Tinkercad (but refuses to take on the "extreme math" of OpenSCAD!) and I've learned enough from his work to believe that much of his work could be a few dozen lines of my typical-sloppy coding.
If you can build from the ground up in OpenSCAD and approach it parametrically, you might be in better shape.
How do you "set the grid to match its X, Y size" ?
On Saturday, February 12, 2022, 03:53:01 PM EST, Joe Weinpert <joe.weinpert@gmail.com> wrote:
Got it, thanks.
If I import the STL into TinkerCAD then set the grid to match its X,Y size and to make sure the Z is set to 0 then I export it and read it into OpenSCAD it appears right in the center of X,Y and the Z is on 0.
If I make the TinkerCAD grid twice the size of the object then move the object to the upper-right (setting the X,Y point in the center of the grid) then importing it into OpenSCAD places everything at 0,0,0 (the primary quadrant).
On Sat, Feb 12, 2022 at 3:39 PM Jordan Brown openscad@jordan.maileater.net wrote:
On 2/12/2022 12:21 PM, fred via Discuss wrote:
I've found that the location of an imported STL is based on the origin from the program which created it,
Yes. The STL specifies the location of the object. That location is entirely under the control of the program that created the STL.
One could import the STL in question if not locally created, translate/move it to the desired spot and save for OpenSCAD use.
Yes... but note that if you're doing that translation in OpenSCAD, you have to just know the right translation to apply.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org