News:

Please remember to do a search before you ask a question!

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Importing STL file

Started by Steve Edwards, December 04, 2024, 09:00:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Steve Edwards

I have some parts I wish to print produced by someone else, freely available as STL files. I could bring them straight into my slicer program (Bambu Studio) where they import as 1:1 scale object. However I need to scale them to about 2/3 the size in x y z. With that in mind I imported them first into TC with a view to scaling them there.
The problem is they always come into TC as inch dimension such something 200mm comes in at 200 inches.

I have tried various  Space Units options, but TC seemingly ignoring my import setting, no matter what combination of tick boxes I use stubbornly importing in Inches.
Any suggestions how to import object as a metric model ?
Example STL file (zipped) and screenshot attached 
You cannot view this attachment. You cannot view this attachment.
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Brandon Meyer

#1
Hey Steve. Don't have the "convert units after alteration" box checked. Then all that will happen is the inches word changes to mm everywhere. The numbers stay the same. So it says 80 inches it will become 80mm. If that box is checked then it will mathematically change the 80 inches into 2032mm. This works fine in 2020. I just drag and drop the file into the workspace fyi.
I wanted to add here to anyone who doesn't know. Stl files do not have a unit specification but rather only a number. So whatever program you bring them into it will assign that standard to the numbers.  So a cylinder will be maybe 2 tall with a radius of 1.5. A metric program will see 2 mm x 1.5mm radius and an imperial program will see 2 inches x 1.5 inch radius.
TC Pro Platinum 2025, 2020, 2016, 2015, v18, v14. TC Deluxe v19. Alibre Design Expert v28. Blender 4.3. Ender 5s1 enclosed printers. Revopoint MetroX, Range1, Pop2 3d scanners.
Home pc Ryzen 7 3700x 32gb Ram Rtx2060 Super. Shop pc Ryzen 9 3900x 64gb Ram Rtx2060 Super.

Alvin Gregorio

What Brandon said, Steve.
Also--

Per Nikki's Tip:
Run through Page Setup Wizard once, choosing all the Metric options. Save at the end page.
Please let us know if that also works for your .stl imports.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Andy H

If you are not altering anything Steve.  Can you not just scale in the slicer. 

An alternative could be to use Windows - accessories - 3D builder, STL can be scaled in that, and its simpler than things like MeshLab.  If one engages the size lock, you only need to set one dimension (in mm - these are dimensions rather than scale factors) and the others will size to suit.   

Steve Edwards

#4
Thanks all for your suggestions, I in fact copied the model and then pasted into a new drawing from my metric template. From there I was able scale to the size needed by measuring one key feature and calculating the scale factor. I bit protracted but accurate.
Many thanks All

I'm printing some ornate bird nest boxes utilising some of these STL files (roof for example) to match the TC drawn models.
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Steve Edwards

TurboCad 2024 Platinum

I have just got around to testing the remedies made by Brandon and Alvin and (Nikki as suggested by Alvin)
  • I cannot Drag 'n' Drop STL files in TC, it pretends to open the file then all disappears
  • I can open tcw files by Drag 'n 'Drop. This is news to me and useful to know
  • Space Units. Metric by default and convert ticked, model opens in inches 84~ Inches
  • Space Units. Metric by default and convert not ticked, model opens in inches at 84 Inches (ie same as above)
  • Space Units. In the open 84 inch model click the units button from inches to metric and 84 inches becomes 84mm, here the default units are defined as metric before opening but opening causes the space units to switch to inches. Switching back produces the desired conversion
  • Using the set-up wizard, choosing metric as the default units is the solution. Switch to metric and save settings and low and behold everything works. STL file open in Metric and is the correct size. Great tip Nikki, thanks.
In conclusion, STL files have no units (as Brandon explained) and unless one goes through the set up wizard will import in Inches regardless of whether the default Space units at set to Metric and/or the convert units is ticked or not.

"The world goes metric Inch by Inch" and so does TC

Thanks All
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Alvin Gregorio

I don't fully understand your process Steve.  I think it's the "drag 'n drop" thing.
I think we'd advise to not do it that way.

Just with TurboCAD running, use the Open command to navigate to and open the .stl file.
If you discover the object(s) is 84 inches, whilst you know it to be 84 millimeters-- simply go to Space Units, switch to Metric/Millimeters, ensure "Convert..." is unticked, and Okay.

If I am reading your post correctly, I think the problem you are (were?) having is due to your having an open file running and trying to "drag 'n drop" the .stl file into it.

You should be good now though, it seems.  The Page Setup Wizard Tip ought to keep everything good.  Note though-- It won't override what's within a file if you already have a file open that has its Space Units set to English and you are trying to "drag 'n drop" (nor Insert->File, I believe; need to test).

Anyway... post back if you run into any issues again.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Andy H

#7
1.  drag n drop stl.  Did you do a zoom extents.  When dragging in an stl,  TC can put it anywhere in model space, not just in the active view.  And scale goes out the window.  I dragged in a 150 mm diam stl, and it dropped as 4013 mm diam.  and 4660 mm away from 0,0,0 work plane origin.

2.  Open TC by drag n drop.  Personally, I would not do that.  You lose any available import control.  For example, when opening a file, one can sometimes set certain parameters.  like with stl one can 'Open as separate parts'.  When dragging, TC just uses the last known setting, with no user intervention.

3. 4. 5.  imperial / metric.  When opening a drawing with no units like stl,  TC reverts to its default setup.  Defaults in this case means the drawing defaults, as shown in the TC explorer palette.  These are the settings which TC changes when using the Page setup wizard.

6.  Page setup wizard.  For Metric.  When installing TC.  After setting the desired UI.  One needs to get used to doing this as the next item on the agenda, before using TC (for anyone who uses metric units).  After a few install, it becomes second nature.   

Brandon Meyer

Questions for you guys. Mind you this is for 2020 platinum. I have always drag and dropped stl and step files because if I open them any other way I cannot have them open with my template that I use for all drawings, at least that I know of. I could open them in separate window then copy them over to my main template window but that doesn't seem be any better of a solution. If I have my template open I can then insert file and bring in a stl or step and with that there are a couple import options but only convert units and override data. I cannot open a stl or step as separate parts. The step will be separate pieces that are selectable but any stl no matter how many components or if I saved it from TC or alibre or blender will always be one object. Therefore since I have never had any more options than these I have always drag and dropped them as well as dwg and dxfs. Did they change something in the newer versions to add the separate objects option?

On a side note some files do come in in the middle of nowhere and some at different size but he size was always a simple fix as it was either metric or imperial. So for example alibre will export as mm and blender will export as meters but you can set a unit scale to be whatever for either. The place the object comes in at seems to be due to where it's location was in whatever program it was created. So for example I can make a cube at the 0,0,0 location in blender and export it and it will always no matter how I open it, whether by file or drag and drop, it will be at the 000, in TC. But if I make that cube off to the side even with it's origin or reference point at it's center of extents it will always come into TC off to the side. If I create the cube off to the side with it's reference or origin point at the 0,0,0 mark it will still come in off to the side. Most the time when I export stl files for printing I will make copies of the objects and put them off to the side so I can position them how I want and perhaps that is what other people do as well and why so many times the objects come in at a place that seems to be the middle of nowhere. This would be compounded if the scale was off so the object was huge but maintained it's location after a scale or unit conversion.

Am I missing out on new stl import features in the 2024 Version?
TC Pro Platinum 2025, 2020, 2016, 2015, v18, v14. TC Deluxe v19. Alibre Design Expert v28. Blender 4.3. Ender 5s1 enclosed printers. Revopoint MetroX, Range1, Pop2 3d scanners.
Home pc Ryzen 7 3700x 32gb Ram Rtx2060 Super. Shop pc Ryzen 9 3900x 64gb Ram Rtx2060 Super.

Andy H

#9
Quote from: Brandon Meyer on December 06, 2024, 11:31:38 AMI cannot open a stl or step as separate parts.

In v2021 they introduced a setup - tickbox, where one can tick an option to open an multipart stl as separate parts.  This may depend on whether there is a physical separation between the parts in the stl. I have not tested that bit.  And I often forget the setting is there, as I got too used to saving all stl as separate parts before the setting existed.

Drag n drop probably works great for imperial units,  not quite as good for metric in my experience.  But it could be a problem with the way I have TC setup.

For opening in an existing template, on could use 'Extract From'.  It has one minor drawback. sometimes parts come in invisible. Switching to draft render view (so one can find the part),  then selecting the part and either change its pen colour, or choosing delete, then Undo, makes them visible again.  There are probably other ways.   

Brandon Meyer

TC Pro Platinum 2025, 2020, 2016, 2015, v18, v14. TC Deluxe v19. Alibre Design Expert v28. Blender 4.3. Ender 5s1 enclosed printers. Revopoint MetroX, Range1, Pop2 3d scanners.
Home pc Ryzen 7 3700x 32gb Ram Rtx2060 Super. Shop pc Ryzen 9 3900x 64gb Ram Rtx2060 Super.

Alvin Gregorio

In versions 2020 and 2024* Platinum, if I insert a multi-object .stl file into an open TurboCAD Drawing via Insert->File, it comes in as one object.
But if I Explode once, it separates into the individual objects.

*
Separate Parts option not ticked during insertion
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Brandon Meyer

I can confirm Alvin in my 2020 that if I simply drag and drop also and explode it will separate the stl file into it's individual components. I did try this earlier today before I posted but I used a very large file and it locked the computer up each time. I figured it was breaking it down into lines so I didn't pursue it. Glad you brought this forth as it may be useful someday when editing other peoples stl  files for printing.
TC Pro Platinum 2025, 2020, 2016, 2015, v18, v14. TC Deluxe v19. Alibre Design Expert v28. Blender 4.3. Ender 5s1 enclosed printers. Revopoint MetroX, Range1, Pop2 3d scanners.
Home pc Ryzen 7 3700x 32gb Ram Rtx2060 Super. Shop pc Ryzen 9 3900x 64gb Ram Rtx2060 Super.

murray dickinson

An .stl file "can't" contain more than one component, that's one of the criteria of the format definition.  Others are that it should only be in the positive quadrant of the XY plane with the bounding box origin at 0,0, that only two triangles share any edge and no more than three triangles share any vertex, and the facet normal point to the "inside" of the closed mesh, no colours and no units.   We expect TC to override or ignore the format "rules" selectively to suit.   

Brandon Meyer

Good info Murray. I assume that the separate objects in a model, even if they are physically touching, will be converted into an stl by each separate object having the mesh formed and that would then create the limits on triangles sharing vertices. So you would end up with two sets of triangle meshes touching each other but not one with each other. Then the opening program sees this and can separate them because it is smart.....

I however do not understand the "it should only be in the positive quadrant of the xy plane with bounding box origin at 0,0". I created an object in blender and offset it to the negative x and y area and it imports into TC in the exact same position. So the bounding box should be in the negatives. Unless when the stl is created it squares up the bounding box to extend equal distances each direction if it is in the negative. For example a cube that is 2 inches square but in the negative quadrant may have a bounding box that is 3 inches to make the origin sit in the 0,0 location. Can you elaborate on that one a little more? I am curious.
TC Pro Platinum 2025, 2020, 2016, 2015, v18, v14. TC Deluxe v19. Alibre Design Expert v28. Blender 4.3. Ender 5s1 enclosed printers. Revopoint MetroX, Range1, Pop2 3d scanners.
Home pc Ryzen 7 3700x 32gb Ram Rtx2060 Super. Shop pc Ryzen 9 3900x 64gb Ram Rtx2060 Super.

murray dickinson

Charles Hull invented SLA rapid prototyping, where a UV laser draws the outline of the model and a solid "hatch" fill for its interior for each layer, which then lowers a layer into the resin bath, the next layers drawn and so on.  He commissioned someone else to define .stl format, which was specifically for his system, which was the only "3D printing" game in town for a decade or so.  The "located in the positive 3D quadrant" condition was to suit the CNC functions of 3D Systems' SLA machines, our slicer apps ignore all of .stl's positioning and faceting "rules" because those rules aren't relevant to fused filament machines and because the slicers and CAD apps are smart enough to work around them.  The point I'm making is that TC's treatment of import and export is arbitrary and to suit us, it's not complying with .stl format rules because they don't allow a lot of what we want.  Stl is just a useful way to exchange geometry, but slicers handle .obj and STEP now and 3MF, which allows for other stuff.  No point in getting prissy about proper .stl behavior, though, we don't really stick to proper .stl anything.

Brandon Meyer

Thanks Murray. Interesting stuff.
TC Pro Platinum 2025, 2020, 2016, 2015, v18, v14. TC Deluxe v19. Alibre Design Expert v28. Blender 4.3. Ender 5s1 enclosed printers. Revopoint MetroX, Range1, Pop2 3d scanners.
Home pc Ryzen 7 3700x 32gb Ram Rtx2060 Super. Shop pc Ryzen 9 3900x 64gb Ram Rtx2060 Super.

lglauberman

Quote from: murray dickinson on December 07, 2024, 12:31:48 PMCharles Hull invented SLA rapid prototyping, where a UV laser draws the outline of the model and a solid "hatch" fill for its interior for each layer, which then lowers a layer into the resin bath, the next layers drawn and so on.  He commissioned someone else to define .stl format, which was specifically for his system, which was the only "3D printing" game in town for a decade or so.  The "located in the positive 3D quadrant" condition was to suit the CNC functions of 3D Systems' SLA machines, our slicer apps ignore all of .stl's positioning and faceting "rules" because those rules aren't relevant to fused filament machines and because the slicers and CAD apps are smart enough to work around them.  The point I'm making is that TC's treatment of import and export is arbitrary and to suit us, it's not complying with .stl format rules because they don't allow a lot of what we want.  Stl is just a useful way to exchange geometry, but slicers handle .obj and STEP now and 3MF, which allows for other stuff.  No point in getting prissy about proper .stl behavior, though, we don't really stick to proper .stl anything.

Very interesting info.
Lawrence Glauberman, LIG
TurboCAD 2024 Platinum, Lightworks
Bambu H2S w/AMS2, QIDI XPlus3