News:

Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

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.

Retaining Part names in .Step Files

Started by Brandon Meyer, December 01, 2023, 05:18:34 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Brandon Meyer

I am using an importer called StepPer for Blender and it imports .step files. A large turbocad file with many layers that are parts imports just fine as separate parts in blender but has all names as "solid" followed by a number as the list grows. I see in this thread Thread Click Here that .step files from TC do not transfer anything but color. Well here are some anomalies that I have run into while trying to get this to happen. An export from TC 2016 brings into blender all generic names except for an electric motor part that was a .step from a manufacturer that I imported to TC. That motor shows up in blender with it's names. If I explode TC parts so there is no parts tree and are only solids there is still no names from the layers like the motor retains. V2020 TC does not transfer the motor name like 2016 even though it is the exact same file. If I put a name in the Attribute field under properties of the part in TC either version it does not transfer to blender but does transfer to Alibre Expert v27. If I go under selection properties of the part and change the "ACIS Solid" to a part name it does not transfer anywhere. Now for the other part is that in Alibre, a assembly exported as a .step which has each part named does indeed transfer into blender through the addon correctly. This same part opened in TC from the Alibre step file does have some strange name under the general attributes or file info under selection but it is not the same name as in Alibre. So apparently .step names are a mystery but why is it that the 2016 file exports the motor properly? And why is it that Alibre could get the name of a part when named this way?
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.

nikkipollard

Can you share the file that does retain the name? It would be easier to do an investigation that way
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Brandon Meyer

Attached are 2 different tcw files. Both are the same file but saved from the different versions which are 2016pp and 2020pp. Also attached are two images of the blender imports which show the names from the motor parts only and the other with no names. Same import settings.
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.

AussieBloke

#3
Brandon can I suggest that you grab a grabcad step drawing and test directly in blender.

Then test that same drawing in tc 2016/2020.

Export that test drawing from both versions and compare what results you get back in blender?

Edit: Retest with the original in blender.




AussieBloke

Based on my export tests with step files in later versions of tc ( 2022 & 2023 ), no names or layer names are saved in the step export file.

Brandon Meyer

#5
I downloaded a little honda motorcycle engine off the first page of grabcad. It was made in Autodesk Inventor. The step file loaded in either Turbocad version does not show any parts names anywhere that I can find and everything is on layer 0. This same file opens in both Alibre and Blender with all parts labeled with names. If I take and save this file in either TC version as a step with the name changed to reflect which version I saved it in then that step will open in Blender with all parts named as originally. If I take the step file and save it in TC as a .tcw and then close out and reopen as the .tcw and then save to .step again, both the step files from v2016 and v2020 open in Alibre with all parts named but only the v2016 step file opens in Blender with all parts names intact and the v2020 shows only genereic "solid" names. In any variation of this in either TC program I can not find any name to any separate part at all so I am not sure where they are being stored and why if saved to tcw does it somewhere retain a name and I can't find it in the program. Where would such a thing be stored within TC?
Attached is the v2016 step saved as tcw in case anyone wants to look for names. It is quite a model so it will hold up the computer for a bit while it loads. "Ic Cad Engineering" from grabcad seems to have  done a great job modeling it.

EDIT: It isn't letting me upload the file so I will try later.
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.

AussieBloke

Brandon what was the filename from grabcad?

Brandon Meyer

"Honda Supra 100 Engine" is the name of the grabcad file. Here is the link to it Link Click Here
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.

AussieBloke

Quote from: Brandon Meyer on December 02, 2023, 05:27:48 PMI downloaded a little honda motorcycle engine off the first page of grabcad. It was made in Autodesk Inventor. The step file loaded in either Turbocad version does not show any parts names anywhere that I can find and everything is on layer 0. This same file opens in both Alibre and Blender with all parts labeled with names. If I take and save this file in either TC version as a step with the name changed to reflect which version I saved it in then that step will open in Blender with all parts named as originally. If I take the step file and save it in TC as a .tcw and then close out and reopen as the .tcw and then save to .step again, both the step files from v2016 and v2020 open in Alibre with all parts named but only the v2016 step file opens in Blender with all parts names intact and the v2020 shows only genereic "solid" names. In any variation of this in either TC program I can not find any name to any separate part at all so I am not sure where they are being stored and why if saved to tcw does it somewhere retain a name and I can't find it in the program. Where would such a thing be stored within TC?
Attached is the v2016 step saved as tcw in case anyone wants to look for names. It is quite a model so it will hold up the computer for a bit while it loads. "Ic Cad Engineering" from grabcad seems to have  done a great job modeling it.

EDIT: It isn't letting me upload the file so I will try later.

What import filter did you use in Blender, I cant import stp files.

If all parts/objects are on Layer 0 then how does blender get those layer names?

"If I take and save this file in either TC version as a step with the name changed to reflect which version I saved it in then that step will open in Blender with all parts named as originally." Testing now in tc v2016.


Brandon Meyer

Quote from: Darryl W on December 02, 2023, 09:21:30 PMWhat import filter did you use in Blender, I cant import stp files.
      The paid addon called StepPer available through Gumroad. It installs into Blender in the same way as other addons do.

If all parts/objects are on Layer 0 then how does blender get those layer names?
      Exactly! How indeed. Where is this info stored in TC. How can the file be saved as a tcw file and reopened and then saved again as a step file and those names are available again. Where are they stored or written?

"If I take and save this file in either TC version as a step with the name changed to reflect which version I saved it in then that step will open in Blender with all parts named as originally." Testing now in tc v2016.

   
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.

Brandon Meyer

I also had setup a TC file using xref's of my other tcw files thinking perhaps when exported as a step that the sub parts or xrefs would keep their name kind of like how Alibre uses parts and assemblies. This also did not produce any names in Alibre or Blender.
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.

Dean

Quote from: Brandon Meyer on December 02, 2023, 06:10:46 PM"Honda Supra 100 Engine" is the name of the grabcad file. Here is the link to it Link Click Here

Can you Zip the file then post it here or post it in dropbox.

I don't use cadgrab :)
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Brandon Meyer

#12
Attached is a drive folder with the 2016 file I promised a few posts ago and then also the honda engine step file from grabcad and also a new file that is a "grabcad step>TC2020 TCW> Step> imported to Alibre> saved to step again." This last one does bring names into Blender. So the names don't get erased in TC2020 when saved to TCW file obviously but they are hidden somewhere.

https://drive.google.com/drive/folders/1Py0bvinAWUP1U7yQ0oDUcUKax_e7EIhB?usp=sharing
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.

Brandon Meyer

So to summarize everything: Objects drawn in Turbocad no matter the version do not translate a name through step format no matter if it is on separate layer with name, object properties attribute name, or the actual object mame is changed in selection info palette for example like changing it's name from cylinder to shaft as even the name cylinder does not translate. This isn't only an issue for the blender importing but for possibly any other software such as maybe solidworks trying to import a complex drawing from TC since Alibre works like solidworks and when opening a large file it lists all parts separately as a name like solid with a number following it. Renaming these parts in Alibre at least is a major issue since they are actually separate files that are in an assembly and to rename one would break the assembly so the amount of work to do that would be great. Navigating these parts in an assembly is tedious in Alibre. In Blender it isn't that big of a deal as renaming is easy to do if one wanted to since it is a totally different type of program.

So I guess after all this trial and error if would still be nice to know if one can name an object in TC and have it export. Perhaps a script for that. It is the same way upon importing a step as all objects are placed on layer 0 with no names and the separate objects under selection palette are simply acis solids.
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.

AussieBloke

Based on your reply #2 then we need to find what version of the step export ( read function or settings etc ) tc used in that version.

Same for above in v2020.

Your reply #5

Needs further investigation with the user tester having access to both v2016 & v2020.


Alvin Gregorio

#15
Just curious Brandon, if you care to share:
What is the overall purpose and objective and reason here, with this .step, parts/Layers naming, TurboCAD, Allibre, Blender issue?

Is it that you are Ultimately going to provide it to someone that only works in Blender?  Or what?
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)

AussieBloke


Brandon Meyer

Quote from: Alvin Gregorio on December 03, 2023, 05:18:02 PMJust curious Brandon, if you care to share:
What is the overall purpose and objective here, with this .step, parts/Layers naming, TurboCAD, Allibre, Blender issue?

Is it that you are Ultimately going to provide it to someone that only works in Blender?  Or what?


The things I model are often things I end up fabricating either for myself or another in house so I typically don't share drawings to the outside unless it is for cnc work. The Blender part is for when I want to render and/or animate an object to show or visualize to someone else. I am still early in my Blendering but things are moving along. The Alibre part is for me also as I use Alibre for some things that benefit from parametric flexibility and Turbocad for others. One example is reverse engineering a scan in TC and then combining that model with some others in an Alibre assembly. Being able to go between and at least have a name for parts is helpful. I loaded an older solidworks assembly into TC and while it loaded all on the layer 0, each part was named in the selection palette under "info" which I believe is the same as "attributes" in the properties info of the object. I would simply think that for those that would use TC in industry that the program would at least provide a way to transfer to another program with some names somehow. The grinder has something like 145 parts I think and to send that to Alibre makes for 145 part files that you don't know what they are until you open each one or you open the assembly and go through them. You can't change names easily once a part is in an assembly since it is the actual file name which ties it to the assembly. I realize that most industry is going to be using parametric programs but some would benefit from Turbocad's freedom in modeling it would seem.
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

TC has parametric primitives, constraints and parametric part scripting language.  It's a parametric modelling app, perhaps just not as you think of it. 

Dean

Quote from: Brandon Meyer on December 03, 2023, 01:00:56 PMAttached is a drive folder with the 2016 file I promised a few posts ago and then also the honda engine step file from grabcad and also a new file that is a "grabcad step>TC2020 TCW> Step> imported to Alibre> saved to step again." This last one does bring names into Blender. So the names don't get erased in TC2020 when saved to TCW file obviously but they are hidden somewhere.



Thanks for posting the drawing.
Now I understand what is happening.

Turbocad 2017 platinum seems to work ok... see attached images.

I'll keep exploring why Turocad 2020 doesn't write the names in the stp export.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Brandon Meyer

Quote from: murray dickinson on December 04, 2023, 04:45:17 AMTC has parametric primitives, constraints and parametric part scripting language.  It's a parametric modelling app, perhaps just not as you think of it. 
Yes it has wonderful parametric cability especially through compound profiles, constraining arrays, and things like the hole tool especially combined with constrained arrays. But it isn't a parametric program in the way that solidworks or alibre is. I wouldn't want it to be. I like turbocad just as it is.


     Dean, try one of your own models that was done in TC in any version and see if there is anyway to get a name to transfer into blender. If like my own trials then it isn't possible.  It seems it can retain a step parts name but can't produce it's own. By the way quite some time ago you posted a pic of a teapot from your blender trials. How goes the progress these days? Still at it?
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.

Dean

Brandon,

Perhaps you could bring up the issue with the developer of the Blender addon.

Turbocad 2017 platinum works...
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Brandon Meyer

Quote from: Dean on December 05, 2023, 10:49:08 AMBrandon,

Perhaps you could bring up the issue with the developer of the Blender addon.

Turbocad 2017 platinum works...
The Honda engine works from 2017? What about any model and you created in turbocad in any version exported as step. Not one of any of my models that I created will retain any name info to either blender or Alibre. Outside step files it does except for some in 2020 to blender only but alibre works so that is likely a blender issue. But I don't generally use any models from anyone else, the honda engine was just for testing to share here. The important part of this is that none of my tcw files I have created over the years will transfer to alibre or blender as step with separate component name info. Freecad also does not recognize anything.
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.