News:

When replying to a specific statement be sure to quote the previous post.

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.

Part tree

Started by Steve Edwards, May 15, 2024, 12:30:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Steve Edwards

As a student of the Don Cheke training videos I have always followed the Program and Workspace settings that Don steps through at the beginning of each video training session.
He advises to turn off the Part Tree because it might slow down one's PC.
I also recall that the official manual says something similar.
Recently, and as a reply to one of my recent posts Nikki suggested I use Part Tree for manipulating a model wing tip.
I turned part tree on to see how it works.
Unfortunately my experience was not good, my PC slowed dramatically. 3D manipulation of a complex model became virtually impossible, undoing an operation became impossible often locking Turbocad into a seemingly endless spiral. Saving the model at the end of a session would take 5 to 8 minutes (a few seconds without part tree).
My PC is no slouch 

Is my experience unique?
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

AussieBloke

Steve what 3D operations/how many did you perform before noticing that the part tree slowed your pc down?

Ive used/use it for many actions on much slower and older pc's without a noticeable hit on large drawings of more than 200mb in size.

Im wondering if theres something a little off here, just how big is the drawing and how many objects are in it?

Have you ever tried turning down the ACIS settings to say 90%?

Grab any screen captures.



Alvin Gregorio

#2
Quote from: Steve Edwards on May 15, 2024, 12:30:51 AMAs a student of the Don Cheke training videos...

Is my experience unique?
I do not think your experience is unique Steve.  Hence why guru Don Cheke suggests not using Part Tree (ACIS: Create Editing History).
I know Henry has stated many times how much he hates* it.  For the experiential reasons you are describing.

Henry did state that he was prone to activating it intermittently-- when doing something complex that he was fairly certain he'd want to go back and edit, such as a Bend or compound Bend operation(s).

It's a shame.  But we get what we pay for.  IMSI-Design/TurboCAD is infamous for half-baked developments that they just elect to ignore then move on to the next shiny thing that will entice future sales.  But it's cheaper than AutoCAD, Fusion_360, Inventor, Solidworks, ...
    Like Forum Member knute971, I like to go on YouTube and follow along in the making of some machine part, replicating the actions the best we can in TurboCAD.  That video creator is using something like Solidworks or Fusion_360.  Those apps' Constraints and "Part Tree" are powerful, and robust.  It's a shame IMSI-Design/TurboCAD won't/can't develop the same reliability and robustness.  But we get what we pay for.
________
*hated?... Rest In Peace, our friend Henry, if that's the case.  I should check in with his daughter that I've had communications with; but how do you ask a daughter "Is your dad _____?"
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)

nikkipollard

I am sorry that my suggestion made your drawing slow.
I have never had a problem with the part tree. Even on my old slow computer.
But that doesn't mean there isn't an issue -
I don't like the drafting palette because that slows my computer down but others swear by it.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Steve Edwards

No apology necessary Nikki , in principle it should have helped and no harm done, I just switched it off. 
My drawing has many layers and lots of lofting from spline created 2D objects, these can get progressively demanding on my graphics card. Especially when Boolean subtract is used to take one complex loft from another.
In accordance with guru Dons teachings I keep all the construction layers and when, as sometimes happens, I ask too much of Turbocad the recovery is always possible.
What little I know about Solid Works or Fusion 360 the "going back" process is very robust. I'm happy with TC but I would suggest part tree is one of a  list of things that are marketed as a key feature but are not fully implemented,or go out of fashion for the next greatest feature.
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

Dean

#5
Quote from: Steve Edwards on May 15, 2024, 12:30:51 AMAs a student of the Don Cheke training videos I have always followed the Program and Workspace settings that Don steps through at the beginning of each video training session.
He advises to turn off the Part Tree because it might slow down one's PC.
I also recall that the official manual says something similar.
Recently, and as a reply to one of my recent posts Nikki suggested I use Part Tree for manipulating a model wing tip.
I turned part tree on to see how it works.
Unfortunately my experience was not good, my PC slowed dramatically. 3D manipulation of a complex model became virtually impossible, undoing an operation became impossible often locking Turbocad into a seemingly endless spiral. Saving the model at the end of a session would take 5 to 8 minutes (a few seconds without part tree).
My PC is no slouch

Is my experience unique?


Steve, try these tweaks when working with a large Part Tree.
1)    Turn off "Acis Check Entity" in Audit options, turn it On when needed.
2)    I'd recommend working with AcIs quality setting between 50-70. Increase the quality only for specific purposes, rendering and or for exporting the mesh.
3)    If you have Drafting objects try using the "Convert Curves to Polylines" setting.
4)    I always make sure the value is set correctly in the SI Palette to "maximum number of entities to show"
Also, posting a drawing would be helpful.
"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

Steve Edwards

Quote from: Dean on May 15, 2024, 09:40:05 AMAlso, posting a drawing would be helpful.
You did ask ! I though about explaining the methodology used to create this model, but instead decided its easier to post and invite questions. All I will say is there is a lot of trial and error to obtain a design that prints, and it does. Left and right wings have been printed and assembled. Together the wing span is just shy of 2 meters or the height of a door in ones home.

 I accidentally used "Quick Reply" that doesn't allow me to attach the .tcw file. Ill send a second reply with just the file attached
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

Had to zip it, too big otherwise
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

Alvin Gregorio

Quote from: Steve Edwards on May 15, 2024, 12:06:20 PMHad to zip it, too big otherwise
You cannot view this attachment.
Doesn't 130mb seem like a very large TurboCAD file?

Maybe now that you've developed it quite a bit, maybe you can start over, and keep it simpler.
Copy/Pasting the 2D profiles and whatever else is minimally needed into the new drawing as needed.
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)

Dean

Quote from: Steve Edwards on May 15, 2024, 11:58:46 AM
Quote from: Dean on May 15, 2024, 09:40:05 AMAlso, posting a drawing would be helpful.
You did ask ! I though about explaining the methodology used to create this model, but instead decided its easier to post and invite questions. All I will say is there is a lot of trial and error to obtain a design that prints, and it does. Left and right wings have been printed and assembled. Together the wing span is just shy of 2 meters or the height of a door in ones home.

 I accidentally used "Quick Reply" that doesn't allow me to attach the .tcw file. Ill send a second reply with just the file attached

Steve, Thanks for posting the drawing.
I don't have any problems working with the drawing though there is no Part Tree.
In the future try my suggestions.
"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

Alvin Gregorio

When I first open the Drawing file you supplied Steve, only 4 Layers are set to Visible.

TurboCAD does a pretty good job of ignoring stuff (computationally) that are on Layers set to Invisible.

Upon opening, if I "Search by Entity", that entity being "Part", no results (there's none on the 4 Visible Layers).

If I then sent ALL the Layers to Visible, that's when things start to get sluggish; including just completing the displaying of all those now-Visible Layers (spinning wheel; TurboCAD graying out; it takes about 5 seconds).
  If I now "Search by Entity", that entity being "Part"-- spinning wheel... TurboCAD is non-responsive and grays out; system fan kicks up; takes about 40 seconds-- there is 1 Part, which is the diagonal ribs.
  With that selected, if I go to Edit/Isolate_Object, TurboCAD hangs up and it takes a while-- like about 10 seconds; then the Part isolates.
  Then I End Isolation, Dynamic Examine in Wireframe.  All good.  Then I Hidden Line render-- hangs up, non-responsive, slow.
  Now I try to Dynamic Examine-- hangs up; spinning wheel of death with each attempted movement.

I just think the drawing became way too complex.
I think it would benefit you to start over from New.  Only bringing in that which is essential to creating your desired end result.
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)

Dean

OK, I did what Alvin did and turned On all layers and found a part tree (see attached)
Following my suggestions I don't have any issues working with the drawing.
Steve, :) In the future please post the drawing with all objects visible and if you can, explain in detail a specific problem, Thanks...
I would keep the relative accuracy at default of.1.
"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

Alvin Gregorio

#12
Following Dean's post just before this one:
>I set ACIS Faceter Quality to 55
>I ensured Selector_Info_Palette_Options/Audit/Options/ACIS/ACIS_check_entity was not ticked.
>(I did not Save and Close)
>It still behaves same or very similarly to how I just reported.


EDIT:  I tried with Saving and Closing then (re)Opening, after changing the ACIS Faceter Quality setting.  No difference.
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)

Jeff_in_90620

Quote from: Alvin Gregorio on May 15, 2024, 03:55:55 PMIf I now "Search by Entity", that entity being "Part"-- spinning wheel... TurboCAD is non-responsive and grays out; system fan kicks up

Interesting bug I found.  If I Select All and activate the Selection Info panel, the Lofts I created are not listed, just Polylines and Lines. 

If I deselect everything and click on a Loft that I created, it is listed.  If I Sweep Select Left over an area where I created Lofts, then they show up in the Selection Info listing.


Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Jeff_in_90620

Quote from: Alvin Gregorio on May 15, 2024, 05:05:26 PMtried with Saving and Closing then (re)Opening, after changing the ACIS Faceter Quality setting.  No difference.

I have, from time to time, had improved results by displaying (and unlocking, if necessary) all Layers, Select All, Copy and Paste into a new drawing (it used to be practically mandatory to pre-open the drawing and make sure the same Template is chosen, but that may not be the case with recent versions).


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Steve Edwards

Hi Dean and Alvin,
 I should have posted with all layers visible, just an oversight on my part, I intend to try all the suggestions made with a copy of this drawing.
There are very likely some empty layers, I see you found 4. The drawing needs a good tidy-up. However it has served its purpose for now and I had copied the final model to new "clean" drawings, leaving all the construction layers behind. 
I will confirm that with part tree on I can confirm the sluggish behaviour and swirling icon and greying out, turn it off and even with my current faceter and ACIS setting the drawing behaves fine. 
I conclude that for complex drawings and part tree it is best to reduce the faceter quality to 55, turn of ACIS auditing, copy and paste periodically into a new drawing leaving behind the redundant construction layers, and relative accuracy to 1.




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

John R

Quote from: Jeff_in_90620 on May 15, 2024, 05:46:20 PMInteresting bug I found.  If I Select All and activate the Selection Info panel, the Lofts I created are not listed, just Polylines and Lines. 

In "Selection Info / Options", what is "Maximum number of entities..." set at. The Default is 100 and I use 300.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

murray dickinson

#17
Part Tree keeps track of all of the associations, dependencies and parameters that you've built into your model.  It's a sequential script that you can step into that gives you granular access to all of those criteria without having to rebuild the model from scratch at any point in its construction and when it's completed.  When you use Part Tree, TC doesn't open your file at the stage you left it, it rebuilds the model from scratch following the history script you've created and that rebuild is composed of all of the computational time that you've used up to that stage. That also happens when you edit a feature in the model, node-editing a loft profile with Compound Profile active at creation, for example.  If your model's definitively completed or simple enough to be edited with Direct Edit tools, Facet Editor or Quick Pull, then there's no particular disadvantage to turning off Part Tree, but if you're using variables, constraints, derivative data or tools that are dependent on conditional associations like face-to-face lofting, switching off Part Tree means you have to do everything over if that need arises.  Part Tree is a true professional feature, it's not a gimmick.  The slowdown from rebuild comes with that feature, almost every other mid-range to high-end program has the same issue, and while they might be using Parasolid or another kernel that might be faster, without it you might as well be using TC Deluxe.  Recent versions of AutoCAD can take advantage of a feature like compound profile, where profiles are associated with solids that update when the profile is edited, and given that TC claims to handle recent .dwg versions, it would be fascinating to see if that association survives if a .dwg is opened in TC.  If you're not using Part Tree, you can't complain that TC Plat's inferior to a history-based program, because you've chosen that single speed-of-manipulation metric over the sophisticated SW/SE/Creo/NX/CATIA-like features that you notionally bought it for....You might have heard the term "dumb solid" used to describe STEP and IGES exchange formats, or even .SAT and Parasolid X_T.  That term refers to those neutral exchange formats not carrying any history.  It's the HISTORY that's the smarts.
All of that being said, I've never turned Part Tree off, I always use compound profile etc, so Steve's experience is so much at odds with mine that I would be pretty shy of turning it off and on and interpreting the outcome of doing that as definitive or determining good practice.

Steve Edwards

Clearly I need to give Part Tree a second go on a new clean drawing. Would anyone like to suggests a list of Program and Drawing setting I should use ?
ACIS to 55
ACIS check entity set to off
Maximum number of entities set to 300 from 100
Convert polylines to curves (I use the convert to curve all the time, a very useful tool )

Any thing else ?

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

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)

Alvin Gregorio

Does anyone else think that the 130mb of Steve's TurboCAD file size is rather huge?

And that likely therein lies the sluggishness; not particularly the Part Tree.

Granted, the Part Tree contributes to file size.  But not solely.
I have to think it's the myriad edges of this sectioned_to-be-3D_Printed wing.  And the myriad actions in TurboCAD that were used to create them.
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)

Alvin Gregorio

#21
Quote from: Steve Edwards on May 17, 2024, 12:17:39 AMConvert polylines to curves (I use the convert to curve all the time, a very useful tool )

Any thing else ?
I'm not as expert a TurboCADer or CADer as others, but I think if you used highly/small_segmented Polylines rather than arcs or curves as profiles that will cut down on computational size.

I think 3D resultants of arcs and curves creates computational requirement on the CAD system that takes much time (and Memory) to resolve.
I think it's all about pi and other maths of infinties.  Node points on highly-multi-segmented_Polylines are easier and faster for the CAD algorithms to solve, then arcs & curves.

I'm not sure if you read or recalled Dean's advice correctly Steve.  He stated it the other way around than what you just stated here (quoted above); Dean said "3)  If you have Drafting objects try using the "Convert Curves to Polylines" setting.", not the other way around.

Murray has been singing the praises of using highly-segment Polylines for years.  Granted, mostly to Deluxe (and recent Pro) edition users that have limited features.

I think this alone-- if starting completely over-- would greatly bring down your file size and make your TurboCAD modeling sessions with this project much more robust.
  You're going to convert to STL anyway, for 3D Printing.  Which triangulates.  So why not start the triangulating early on in the process, via highly-segmented_Polylines versus curves, arcs, and-- in 3D-- compounds of those.

It's a lot to ask, I am aware.  To ask you to start completely over on this project.  That likely seems overwhelmingly daunting to you, even though I take you as being a very patient person and experimenter and developer.
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)

murray dickinson

Alvin, in Platinum, I choose polylines or curves on design context, not preference for one over the other, and not for consideration of program or device performance.  In Platinum, the curved surfaces of a model are variable resolution, so I'd use curves in preference to polylines to produce them for that reason,  because a curved surface is scalable without faceting becoming obvious.  I like the polyline-based surfacing in DesignCAD 3D Max for rebuilding triangulated surfaces like .stl models as quad-dominant meshes for NURB (curved surface) conversion in reverse engineering, and because DC3D Max's mesh surfaces are the same as meshes in TC, with M x N table definition, but while TC's meshes can only be produced as regular rectangular objects, DC3D Max's are lofted between 3D polylines - and the program usefully interprets curves as user-defined-segmentation polylines - and not limited to rectangular, but their coordinates can be taken from the mesh tables in TC.  Contextual reasons, y'see?
Paragraph? Ain't nobody here got no time for no stinkin' indents.  Feel free to insert 'em to your preference.

Steve Edwards

I must admit, I thought Dean had mis-typed convert to curves to polylines. My experience with the aerofoil sections is that a polyline curve has far more facets than the the same Convert to Curve object, which is in fact a Beizer curve and a simplified form.

I also have problems with polyline curves when scaling or offsetting, more often than not they become dis-jointed and I have to use the Join Polyline tool to fix it before lofting or extruding. It is most annoying to find what you though was a solid extrusion is a hollow single was shell because the scaled or offset polyline has become two or more separate polylines.

My modelling techniques have developed from necessity and not necessarily good practice.

My wing drawing has become unwieldy, but has served its purpose. By copying the few layers of the finished wing to a new drawing I can work with it, no problem. My enthusiasm for redrawing it has been lost. Especially as I have now printed the thing.

My interest in Part tree is best served in a new project I think.

Later I will produce some curved rib sections to demonstrate polylines and convert to curve which I'll post as .tcw drawings.

Interesting stuff.
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

Quote from: Steve Edwards on May 17, 2024, 11:19:34 PMMy interest in Part tree is best served in a new project I think.

Later I will produce some curved rib sections to demonstrate polylines and convert to curve which I'll post as .tcw drawings.
Maybe Save As... [sequential numbering] often, and note and compare file sizes.
Using the Description box in File|Summary to note what is particular to each drawing file; or a Text box in the drawing.

Until the drawing becomes unwieldly, you might not otherwise notice the differences.
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)

Steve Edwards

Alvin I'm sure you are correct, when I'm working on a drawing I take scant notice of the file size. Often and unknowingly adding considerably to the file size by some bad practices. 
I tried a few experiments using Splines, Polylines and Bezier curves which seems to be at odds with others experience.
You will have to excuse the poor video presentation, but it gets the message across.
Polylines versus Splines 
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

#26
Quote from: Steve Edwards on May 19, 2024, 12:11:35 PMAlvin I'm sure you are correct, when I'm working on a drawing I take scant notice of the file size. Often and unknowingly adding considerably to the file size by some bad practices.
I tried a few experiments using Splines, Polylines and Bezier curves which seems to be at odds with others experience.
You will have to excuse the poor video presentation, but it gets the message across.
Polylines versus Splines
Thanks for the testing video Steve.

You mentioned more than once in the video that you've "been told using Polylines [versus Curve objects] are the right thing to do".
That was probably told by me.
I was operating on a hunch or a feeling.
Your tests might have proved that wrong.

If you'd like to keep testing and share any new theories, that'd be great.

I don't know otherwise why your wing 3D drawing file size is so huge; other than all the edges, perhaps.


At the beginning of the video:
You, me, and Nikki (and maybe others) worked on that Ruby script a couple of years ago. (this Thread)
I think the two you pointed to including the one you ultimately use, are supplied with the installation.*  If I remember correctly.
  *(TC20_ImportXYZPoints.rb  and  TC20_ImportXYZLines.rb)

We three (or just Nikki, I can't recall) developed it further-- to insert x,y,z coordinates as a Spline (we can immediately select it after insertion and change its Properties|Curve to Bezier, if you prefer Bezier)
I have in my RubyScripts Folder these iterations:
  Import XYZ Spline By Fit Points; by Nikki.rb
  Import Airfoil 2D X,Y Spline Coordinates.rb
  Import_XYZ_points_for_Spline_By_Fit_Points.rb

  import_XYZ_spline_by_fit_points_closed.rb (This is the one that seems to work; text in Code box in thread post I linked to above; Copy/Paste contents into Notepad, Save in your RubyScripts folder, with .rb extension.  Close and re-Start TurboCAD.  The other scripts listed above probably need a little tweaking; but I forgot everything I briefly learned about writing Ruby Scripts, since our little spurt back in December 2021)


Let me know if that Ruby Script doesn't insert a closed Spline.
I have one that does.
Or we can simply select the inserted non-closed Spline with the Edit(node) Tool and right-click over it and choose "Close" in the Local Menu.
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)

murray dickinson

Steve, the offset isn't a single curve because the parameter is to be constant offset, not a single curve.  In a similar vein, the offset of an ellipse isn't an ellipse....You don't have to join the curves to extrude a solid when you enable Compound Profile, if the endpoints of the component curves are coincident and closed, they'll turn magenta together when you select any of them and extrude as a solid.  Join polyline to close a profile is something that dates prior to V9 or V10, when Compound Profile was introduced.  It's an unnecessary anachronism.  Surfaces created with polylines are explicit surfaces, curved surfaces are implicit, calculated instantaneously.  All of the vertices of polylines are listed, increasing file size but not actually describing the smooth surface it's supposed to represent.  The implicit curve is calculated when the file is opened, it doesn't have to have those coordinates expressed.  Compound Profile also means you can have sharp trailing edges with multiple elements, the curve doesn't have to be closed or tangential.

Alvin Gregorio

#28
Quote from: murray dickinson on May 20, 2024, 01:06:50 AMthe offset isn't a single curve because the parameter is to be constant offset, not a single curve.  In a similar vein, the offset of an ellipse isn't an ellipse.
I don't understand why that is.
It is-- I just tested it.

>I inserted an Ellipse.  Major Radius 24, Minor Radius 6.
>I used the Offset Tool to create an offset replica.  Offset Distance=1.  Selection Info reports this offset as being a Curve-- a Spline.
>I selected the original Ellipse.  Copy In Place.
>I selected the copy Ellipse and changed the Major & Minor radii to 23 and 5.
>The resultant smaller Ellipse does not lie exactly on top of the offset Spline.
>Inserting some constructions for Intersection Snapping-- Using the Dimension Tool, set to Precision 10, Round Off 0, I find that the copy Ellipse is correct-- 1mm offset from the original Ellipse.  But the offset Spline is not.  In fact, there is no consistency to the offset distance throughout the circumference-- offset Spline in relation to the original Ellipse.

Can you explain why that is?  As if I were a 4th-Grader.
Is it a geometry/math thing?
Or is it a nuance in TurboCAD's algorithm or whatever in the Offset Tool?

Can an Offset Law be used, to produce a copy that we are expecting wanting?
If so, what is an example of a Law that would do that?

Does the Shell Tool work with the same maths/results?
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)

Steve Edwards

 
Quote from: murray dickinson on May 20, 2024, 01:06:50 AMSteve, the offset isn't a single curve because the parameter is to be constant offset, not a single curve.  In a similar vein, the offset of an ellipse isn't an ellipse....You don't have to join the curves to extrude a solid when you enable Compound Profile, if the endpoints of the component curves are coincident and closed, they'll turn magenta together when you select any of them and extrude as a solid.  Join polyline to close a profile is something that dates prior to V9 or V10, when Compound Profile was introduced.  It's an unnecessary anachronism.  Surfaces created with polylines are explicit surfaces, curved surfaces are implicit, calculated instantaneously.  All of the vertices of polylines are listed, increasing file size but not actually describing the smooth surface it's supposed to represent.  The implicit curve is calculated when the file is opened, it doesn't have to have those coordinates expressed.  Compound Profile also means you can have sharp trailing edges with multiple elements, the curve doesn't have to be closed or tangential.
You know some days one learns something that profoundly changes ones understanding, today is one such day. Murray everything you say makes perfect sense. To date I have been joining the offset profile using polyline join (thereby creating a polyline from the spline) and then converting to curve ( Bezier). I never even tried extruding (or Lofting) using Use Compound Profile. It never occurred to me that two (or more) offset splines would extrude an Acis solid.
Thank you very much.

It does make me wonder how many others are under the illusion that a constant offset does not produce a scaled version of the original.  
  

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

murray dickinson

Alvin, the offset distance for 2D is normal to the instantaneous curvature of the original.  You've generated an ellipse with a string connected to two points, but what's the relationship between the length of string and the two points when you generate an offset?  Offset distance isn't directly related to either, it's a further function removed from simple lengthening of the string and/or the distance between the points.

nikkipollard

Quote from: Alvin Gregorio on May 20, 2024, 04:04:57 AM
Quote from: murray dickinson on May 20, 2024, 01:06:50 AMthe offset isn't a single curve because the parameter is to be constant offset, not a single curve.  In a similar vein, the offset of an ellipse isn't an ellipse.
I don't understand why that is.
It is-- I just tested it.

>I inserted an Ellipse.  Major Radius 24, Minor Radius 6.
>I used the Offset Tool to create an offset replica.  Offset Distance=1.  Selection Info reports this offset as being a Curve-- a Spline.
>I selected the original Ellipse.  Copy In Place.
>I selected the copy Ellipse and changed the Major & Minor radii to 23 and 5.
>The resultant smaller Ellipse does not lie exactly on top of the offset Spline.
>Inserting some constructions for Intersection Snapping-- Using the Dimension Tool, set to Precision 10, Round Off 0, I find that the copy Ellipse is correct-- 1mm offset from the original Ellipse.  But the offset Spline is not.  In fact, there is no consistency to the offset distance throughout the circumference-- offset Spline in relation to the original Ellipse.

Can you explain why that is?  As if I were a 4th-Grader.
Is it a geometry/math thing?
Or is it a nuance in TurboCAD's algorithm or whatever in the Offset Tool?

Can an Offset Law be used, to produce a copy that we are expecting wanting?
If so, what is an example of a Law that would do that?

Does the Shell Tool work with the same maths/results?

Alvin this is something we just need trust. Henry pointed it out before
. Murray has a good explanation.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

#32
Quote from: murray dickinson on May 20, 2024, 03:30:04 PMAlvin, the offset distance for 2D is normal to the instantaneous curvature of the original.
So that I can wrap my head around this, can someone please draw for me a line coming off an 180° elliptical arc that represents this.  That's not on the major or minor axis.  Edit:  I did it for myself.  I figured it out.

I'm trying to gain some predictability of Offset Tool results when used on curved objects.
  Edit:  We can't.  In TurboCAD.

Thanks

Edit (added):  A more accurate-- i.e. predictable-- Curve, Spline, Ellipse, etc. Offset function would be a good challenging script or SDK for someone to write.
Honestly?... I think they gave up on the Offset algorithm and moved on.  EDIT:  See this post
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)

murray dickinson

Try extruding an ellipse or any curved shape, shelling it, section the result and compare it to your constructions, Alvin.   

Steve Edwards

If you'll forgive the pun, this post has gone off at a bit of a tangent. My original post was about part tree and my difficulties using it particularly in my bloated drawing of a model aircraft wing. The good news is I have taken onboard the advice given and my recent experiments with part tree in a clean new drawing have been trouble free. Part tree is working fine and I'm not noticing any slowdown in PC performance. It would seem some of my poor practices in using splines, bezier and polyline curves had contributed to the rather large drawing file size and this in turn running part tree.
The spline tool by fixed points was used to create an aerofoil section as a closed entity all without issue, however the resultant offsets of this 'master' profile showed the profile to be in two spline sections, thinking I wont be able to extrude or loft this I resorted to the join polyline tool. Once done the offset now becomes one entity, but now as a polyline. Using this in an extrude vastly inflates the file size, in my simple experiments up to 10x. In most cases though I converted the polyline, using the 'convert to curve tool' into a bezier curve. This simplified the extrude and brought the file size down again.
What I wasn't aware of, and something Murray pointed out in his post, is that using 'select compound profile' during the loft or extrude allows selection of the two seemingly separate spline offset profiles without having to join and convert. Lesson learned.


Also Murrays explanation of the way the offset tool works suddenly made sense, a light bulb moment and using the ellipse example all made sense.


Confirmed by my own experiments polyline curves should be avoided in complex curves when extruded or lofted, this running contrary to some advice although I guess I very much depends on the complexity of the profile.


In an effort to satisfy my curiosity I tried the ellipse test to confirm Alvin's result. Two concentric ellipses were drawn (using the ellipse tool) with a 6mm difference in the major and minor axis, I then used the perpendicular line tool to add a series of lines 3mm long snapped to the outer ellipse, pointing inwards. Offsetting the outer ellipse by 3mm I was able to confirm it is normal to the instantaneous curvature, it passing though all the vertex of the 3mm perpendicular lines, exactly as predicted and a different curve to the actual ellipse created using the Ellipse tool (by law). A further spline curve was added to the drawing by fixed points those being the ends of the perpendicular lines.
The attached drawing shows the results. The spline would be a better fit had I chosen to use more point, never-the-less it shows the difference.


Finally I can confirm I have added the Ruby script to the.rb file location and it works fine. That is a lot easier, thanks Alvin/Nikki. I'm pretty sure I did have this already but probably lost it when by PC crashed and I had to re-build TC.


Thanks All
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

Jeff_in_90620

Quote from: John R on May 16, 2024, 06:24:14 AMIn "Selection Info / Options", what is "Maximum number of entities..." set at. The Default is 100 and I use 300.

I tried 300, then 500; no joy.  I also tested 20 to see that it caught up (it did).


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Alvin Gregorio

#36
Steve-- Can you supply us the fx76100-il cleaned plus z colon added.txt file you used for the Ruby Script insertion.

Do you find that you have to organize the X and Y coordinates such that they are sequential?  In Excel or Notepad or similar.  Before the Ruby Script will work.
What I mean is-- The coordinates ordered such that they follow along the path a Spline would be created if placed via mouse-clicks in TurboCAD (?)


BTW-- I woke up VERY EARLY this morning (some would term it "late in the evening") with a notion.  I've been testing this whole Curves/Ellipse Shell/Offset thing.  And I am glad to say (to Murray and Henry) that I have figured out why it does what it does and how to expect what to expect when using Shell or Offset on these non-constant curve objects.  Thanks gentlemen.
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)

Steve Edwards

#37
Quote from: Alvin Gregorio on May 22, 2024, 04:27:26 AMSteve-- Can you supply us the fx76100-il cleaned plus z colon added.txt file you used for the Ruby Script insertion.

Do you find that you have to organize the X and Y coordinates such that they are sequential?  In Excel or Notepad or similar.  Before the Ruby Script will work.
What I mean is-- The coordinates ordered such that they follow along the path a Spline would be created if placed via mouse-clicks in TurboCAD (?)


BTW-- I woke up VERY EARLY this morning (some would term it "late in the evening") with a notion.  I've been testing this whole Curves/Ellipse Shell/Offset thing.  And I am glad to say (to Murray and Henry) that I have figured out why it does what it does and how to expect what to expect when using Shell or Offset on these non-constant curve objects.  Thanks gentlemen.
Hi Alvin,
Unless you are able to show different, my plot came out what looks to be perfect. I did think about sorting in Excel but thought I would try as is. It worked.
Please ignore the screenshot showing "by points" the plot was "Import XYZ Spline BY Fit Points" the one you gave me the link to.

You cannot view this attachment. You cannot view this attachment. You cannot view this attachment. You cannot view this attachment. 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

Alvin Gregorio

#38
Quote from: Steve Edwards on May 23, 2024, 02:33:57 AMHi Alvin,
Unless you are able to show different, my plot came out what looks to be perfect. I did think about sorting in Excel but thought I would try as is. It worked.
Yes, the Ruby Script spline insertion of that .txt file points list works well for me also.  Thanks again Nikki!, it's pretty cool (we should have added "Undo" to the script)

I have been getting some input string was not in a correct format errors when trying to insert other X,Y,Z files.*
When I examine those files, their ordering is jumbled.
I note in the one you just supplied, that it just so happens to be in a sequential order-- starts at the far-right X position, Y=0, then works it's way around counter-clockwise.
For testing, in Notepad I randomly Cut one line out and Pasted it somewhere further down.  Saved.
Via Ruby Console, inserted that file's list of points.  Produced some crazy looking thing.
So seems to me that sort order matters, in the X,Y,Z file.

*I download a couple from Airfoil Tools that didn't come in that sequential order.  It takes a bit of work in Excel to sort it counterclockwise or clockwise sequential.
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)

Steve Edwards

I notice the profile is not closed at the trailing edge, I have just tried two other (older) .txt files I have. None are closed. It is no great problem however because I tend to node edit the profiles to smooth some irregularities which only show at high zoom and close it at the same time.
Ironically if one minus offsets the profile without modification, the offset, shown to be two separate splines extrudes as a solid (compound extrude)while the unadjusted import direct from Ruby extrudes as a surface, that because it is not closed.
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

Quote from: Steve Edwards on May 23, 2024, 05:16:23 AMI notice the profile is not closed at the trailing edge, I have just tried two other (older) .txt files I have. None are closed. It is no great problem however because I tend to node edit the profiles to smooth some irregularities which only show at high zoom and close it at the same time.
Ironically if one minus offsets the profile without modification, the offset, shown to be two separate splines extrudes as a solid (compound extrude)while the unadjusted import direct from Ruby extrudes as a surface, that because it is not closed.
You wrote in the previous post Steve "Please ignore the screenshot showing "by points" the plot was "Import XYZ Spline BY Fit Points" the one you gave me the link to."

I believe also in that thread I linked you to, nearer the end, we have the Ruby Script "import_XYZ_spline_by_fit_points_closed".
That is the one I use.  It inserts as Closed.
It's in the .txt file attached.  Remove the .txt after placing it in your Ruby Scripts Folder.  And Exit out of and re-Start TurboCAD, for it to come available in the Ruby Console.

Using the non-closed variety script you mentioned, we can also-- just after insertion-- select it with the Edit (node) Tool, and right-click for the Local Menu, scroll down, and select Close.
___
Interesting that you modify these Airfoil Tools NACA airfoils' nodes.  I would think whomever created those used tested  airfoils that are known to actually work well.
But I know nothing about airfoil aerodynamics.
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)

nikkipollard

#41
Quote from: Alvin Gregorio on May 23, 2024, 04:10:10 AM
Quote from: Steve Edwards on May 23, 2024, 02:33:57 AMHi Alvin,
Unless you are able to show different, my plot came out what looks to be perfect. I did think about sorting in Excel but thought I would try as is. It worked.
Yes, the Ruby Script spline insertion of that .txt file points list works well for me also.  Thanks again Nikki!, it's pretty cool (we should have added "Undo" to the script)

I have been getting some input string was not in a correct format errors when trying to insert other X,Y,Z files.*
When I examine those files, their ordering is jumbled.
I note in the one you just supplied, that it just so happens to be in a sequential order-- starts at the far-right X position, Y=0, then works it's way around counter-clockwise.
For testing, in Notepad I randomly Cut one line out and Pasted it somewhere further down.  Saved.
Via Ruby Console, inserted that file's list of points.  Produced some crazy looking thing.
So seems to me that sort order matters, in the X,Y,Z file.

*I download a couple from Airfoil Tools that didn't come in that sequential order.  It takes a bit of work in Excel to sort it counterclockwise or clockwise sequential.

I am not that familiar with Ruby.
This is my vbscript version, It has undo  (run in macro palette)
Option Explicit
'_____________________________________________________________________________
'# macro to import points from csv file as a 3d or 2d  spline by fitpoints
'only draws one spline
'If the end points are the same the spline will be closed
' points can be separated by a comma ,a space, a tab or a semicolon.
' The script will need to be edited if your local decimal separator is a comma.- see GetPointsFunction

'_______________________________________________________________________________

Call Main
'_______________________________________________________________________________
Sub Main
 '
Dim objFile,strLine,objFso,fileName
Dim Spline
Dim x1,y1,z1
Dim i, num,j
Dim IsClosed
Dim hasZ
Dim Points,Point
Dim sep
Dim Lay
Lay = "0"

fileName = Application.GetOpenFilename("CSV files (*.csv)|*.csv|XYZ files (*.xyz)|*.xyz|Text files (*.txt) |*.txt|All files (*.*)|*.*")
'" 'check filename
  If fileName = "" Then Exit Sub                                  '# User cancelled

sep = " "
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile(fileName)

Do While Not objFile.AtEndOfStream
   strLine = GetPoint(objFile.readline)
  If strLine <> "" Then
  Call AddToArray(Points,strLine)
  End If
Loop

objFile.Close

If IsArray(Points) = False Then
MsgBox "The points don't seem to be in the right format"
Exit sub
End If

num = Ubound(Points)
On Error Resume Next

Point = Split(Points(0),sep)
hasZ = True
If Ubound(Point) <= 2 Then
hasZ = False
z1 = 0
End If

If Points(0) = Points(num) Then
  IsClosed = True
  num = num - 1
Else
  Isclosed = False
End If

Set Spline = ActiveDrawing.Graphics.Add(11,"TCW30CURVE")
Spline.Vertices.UseWorldCS = True

For i = 0 to num
  Point = Split(Points(i),sep)
  x1 = cdbl(Point(0))
  y1 = cdbl(Point(1))
   If HasZ = True Then z1 = cdbl(Point(2))
  Spline.Vertices.Add x1,y1,z1
Next

  If IsClosed = True Then
  Spline.Vertices.AddClose
  End If
With Spline
.SetCurveByFitPoints
.Layer = Lay
.Properties.Item("BrushStyle").Value = "None"
.Update
.Draw
End With
Dim UndoRec
Set UndoRec = ActiveDrawing.AddUndoRecord("Add Spline from csv")
UndoRec.AddGraphic Spline
UndoRec.Close

Set Spline = Nothing
ActiveDrawing.ActiveView.Refresh

 End sub


'_____________________________________________________________________________________

  Sub AddToArray(ByRef a, v)
 
 If IsArray(a) Then
  ReDim Preserve a(UBound(a)+1)
  a(UBound(a)) = v
 Else
 Redim a(0)
 a(0) = v
 End If

 End Sub

'______________________________________________________________________________________

Function GetPoint(line)
   '# checks the line of text in .csv file is in the expected format and converts it to a space separated string
  'expected format 0,0,0 or 0.50 8.85 or 10;10

 Dim spat
 spat = "(; ?|, ?|\t| )"                                                                   ' #Coordinate Separator Pattern
'  # for comma decimal separator use
' spat = "(; ?|\t| )"         

 Dim pat,pat1


 pat1 = "(-?\d+\.?\d*)"                                                                    '# Coordinate Pattern
'  # for comma decimal separator use
'   "(-?\d+,?\d*)"

 pat = "(^" & pat1 & spat & pat1 & spat & "?" & pat1 & "?$)"
 Dim re
 Set re = New RegExp
  With re
            .Pattern    =   pat
            .IgnoreCase = False
            .Global = False
  End With

If re.Test(line) = False Then
GetPoint = ""
Else

dim res
Set res = New RegExp
  with res
.Pattern    =   spat
.IgnoreCase = False
.Global = True
  end with


GetPoint = res.Replace(line," ")

End If

End Function

'_____________________________________________________________________________________




Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Steve Edwards

Thanks Alvin, you are correct . I downloaded the wrong one. I will use your attached file and re-test.
Some of the downloaded profiles do seem to have a few lumps and bumps, having said that if you magnify anything enough one is to see anomalies. Just my need for perfection.
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

#43
Quote from: nikkipollard on May 23, 2024, 06:49:36 AMI am not that familiar with Ruby.
This is my vbscript version, It has undo  (run in macro palette)
Works perfectly.  as always, Thanks Nikki

I see you used the non-Closed Spline insertion version.
I seem to recall that I was the one that added to the script to be the Closed version.  Maybe not
I'll see if I can figure out how to modify a copy of this script.


Although... Henry said if we want a sharp point at that trailing edge, don't Close the Spline.  Compound Profile will still Extrude as closed anyway.

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)