News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

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.

PPM Scripting - Text String w/ partial Parametric Verbiage

Started by Alvin Gregorio, March 07, 2026, 02:12:22 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Alvin Gregorio

Hi Nikki-
Where/how do you learn things like using the + [Parameter] in a Text string such as this?

You cannot view this attachment.
I'm wondering how the rest of us can learn some of the hidden PPM scripting stuff that's not in the User Guide.
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

#1
Quote from: Alvin Gregorio on March 07, 2026, 02:12:22 PMHi Nikki-
Where/how do you learn things like using the + [Parameter] in a Text string such as this?

You cannot view this attachment.
I'm wondering how the rest of us can learn some of the hidden PPM scripting stuff that's not in the User Guide.
This forum is a gold mine. Anything that is not in the manual I learnt from this forum.
This particular nugget was learnt from Andy who posted a long explanation in the ppm forum. - Thanks Andy
https://forums.turbocad.com/index.php?topic=27491.0
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

#2
Quote from: nikkipollard on March 07, 2026, 08:42:02 PMThis forum is a gold mine. Anything that is not in the manual I learnt from this forum.
This particular nugget was learnt from Andy who posted a long explanation in the ppm forum. - Thanks Andy
https://forums.turbocad.com/index.php?topic=27491.0
Thanks again, Nikki.

Yes, I was going to suggest to Steve, as he gains interest and obsessive addiction to PPM scripting, that he peruse the PPM board postings.
Lot's to learn there, including posts through Nikki's growth, development, and knowledge in PPM scripting (we can start with her first post in that board, observe the Date/year, and read some of her later elaborate postings and PPM shares.  Inspiring and gives others— such as myself— confidence.)


Also Steve— Use the MacroRecorder to learn some syntax that can be used in PPM scripting.
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'm ahead of you there Alvin, I have been scrolling through the PPM forum section. I came across Tim's postings where he is/was trying to gather scripts for CoPilot. Lots of links and Examples there. 
I did try ChatGPT to write me a piece of script. It came back with a very confident reply (as it always does), but I dont think the syntax is quite right. It has pointed me the way to express an IF calculation though.
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

I've decided to branch out on my own with a new project, writing the PPM script and using the Router script as my guide so it's not too far off in terms of difficulty. The cover plates on my Bird nesting box(s) are species specific, where the hole size limits which bird can enter.
The project therefore is to generate a plate that can be printed from a species specific list. This code is as far as I have got, I would apreciate comments before I push on.
Thanks
You cannot view this attachment.

//File Name= Bird box entrance hole plate by bird species

Units(1[mm])

//Parameters
OW = Parameter("Plate\Outer Width",70,LINEAR,Interval(60,80);// Width of outer plate between 60&80
OH = Parameter("Plate\Outer Height",OW,LINEAR);//Height of Outer Plate, same as Width
OC= Parameter("Plate\Outer Chamfer",1.5,LINEAR);// Outer Chamfer around plate top profile only
OT = Parameter("Plate\Outer Thickness",3,LINEAR);// Outer plate Thickness
SH = Parameter("Hole\Hole in plate",BH,LINEAR);//Species Hole, hole sized by bird species  IF statements


Output(OW,OH,OC,OT,SH,)

//Calculations

//IF
DH=30// Default Hole if species not found or entered
BHIF=IFBH("Blue Tit",25);
BHIF=IFBH("Coal Tit",25);
BHIF=IFBH("Marsh Tit",28);
BHIF=IFBH("Great Tit",28);
BHIF=IFBH("Tree Sparrow",28);
BHIF=IFBH("House Sparrow",32);
BHIF=IFBH("Nuthatch",32);
BHIF=IFBH("Starling",45);
BHIF=IFBH("",DH);// No entry default to 32
 
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

#5
Quote from: Steve Edwards on March 10, 2026, 02:03:20 PMThe project therefore is to generate a plate that can be printed from a species specific list. This code is as far as I have got, I would apreciate comments before I push on.
Hi Steve.
After having Copied your script, Pasted into TC PPSE and Saved, immediately PPSE is showing errors.
Obviously, the render image you provided was not generated from this script.

Firstly— I don't think it is allowed to have a default Parameter value be another Parameter.  That is the case you have for Parameters OH and SH— their default values are OW and BH respectively.

We cannot Output Parameters directly.  That's what you have at Line 13.

You have a bunch of BHIF identifiers.  You can only use each identifier name once.

Your comment at Line 7, the OH Parameter states "//Height of Outer Plate, same as Width".  If that's the case, why not just have one Parameter that is the outer dimension of the square.  When listing the Points for the Polyline or Rectangle function, you will just use the Parameter— for X and/or for Y.

I don't know what you intended with BHIF=IFBH  -  I think I know where you are headed with these— "IF [the text string Parameter] is this verbiage, then this value, if not then the default value of Parameter DH, 30"

Line 27 you have  BHIF=IFBH("",DH);// No entry default to 32  — I think you mean 30, the value of DH
_______
I know this is in development; I don't know how far you think you got before sharing with us.  It's not really much of anything yet— other than some script lines to be used in a developed script.
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

#6
Unlike other languages you can only use an identifier once.
To check if 2 objects are the same you use this syntax

testsingle = IF(X == Y,IfTrue,IfFalse)

You can nest if statements

testmultiple

animal = Parameter("Animal Type","Bird",TEXT,Set("Mouse","Cat","Dog","Other"))
default = 100

testmulti = IF(animal == "Mouse",30,
            IF(animal == "Cat",60,
            IF(animal == "Dog",110,default)))

Note the position of the parenthesis and the use of the double equal sign to test if 2 objects are equal.
Case matters, the IF needs to be capital letters and the word you test needs to be in the same format too.

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

Steve Edwards

Thanks for comments, clearly I need to go back to basics. I think this could be a long haul, but I shall have another go later. 
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

Todays attempt is very simple, a square 70mm with a circle in the middle of it 25mmDia (12.5 Rad)
I'm getting an error on line 13 but not sure why ?
//File Name= Bird box entrance hole plate by bird species

Units(1[mm])

//Parameters
W Parameter("Sq Plate","Size",70,LINEAR,Interval(60,75));
W1 Parameter("Sq Plate","Size",70,LINEAR,Interval(60,75));
r1=Parameter("Bird Hole","Radius",12.5,LINEAR,Interval(12.5,22.5));

hole=Circle(r1,); //species specific hole size in square plate
sq=Rectangle(W,W1,);//square backplate

Output(hole,sq);
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 March 11, 2026, 10:27:09 AMTodays attempt is very simple, a square 70mm with a circle in the middle of it 25mmDia (12.5 Rad)
I'm getting an error on line 13 but not sure why ?
It takes a bit of working with PPSE to understand what the error colors are indicating and where they are indicating the error(s) is at.
  The error(s) is usually higher than the first color-coded Line.
_________
You need a = after the first two Parameters identifiers (the W and the W1)
You have an extraneous comma in the expression of Line 10, "hole=Circle" (within the parenthesis)
You have an extraneous comma in the expression of Line 11, "sq=Rectangle" (within the parenthesis)
_____
Fixing all that gets the symbol to insert; but there are still issues.  Upon insertion, the symbol has 0 size.
I'm still working on figuring out why that is.
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

Found the 0 size issue.
In all three Parameter lines, you used a comma to categorize the Parameters (such that in Selection Info they are in expandable/collapsible groups)/  You need to use backslash— \ 

//File Name= Bird box entrance hole plate by bird species

Units(1[mm]);

//Parameters
W =Parameter("Sq Plate"\"Size",70,LINEAR);
W1 =Parameter("Sq Plate"\"Size",70,LINEAR);
r1=Parameter("Bird Hole"\"Radius",12.5,LINEAR,Interval(12.5,22.5));

hole=Circle(r1); //species specific hole size in square plate
sq=Rectangle(W,W1);//square backplate

Output(hole,sq);
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

Thanks Alvin, something else learned. I have added thickness to the square plate which worked and edited the Radius, Size and Thickness in the selection info Pallet. To my suprise it worked as it should. 
Onwards and upwards, although that's enough for today.
I hope you dont mind my constant questions ?
Cheers Steve
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 March 11, 2026, 01:09:27 PMI hope you dont mind my constant questions ?
No worries at all.  Helping— and figuring stuff out along with others (thinking, actually)— is my hobby*.

   *though I do need to add on an outdoor, active, real-physical-world hobby
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

#13
Just a quick note the parameter Name needs to be unique.
there cant be 2 parameters called width in the same script.
don't do this it will throw an error
W1 = Parameter(Width",1000,LINEAR)
W2 = Parameter("Width",3000,LINEAR)


As a note to sorting the parameters using a forward slash. The properties page in the library palette doesn't show the headings of different categories, it can be a bit confusing if there are 4 width properties.

This is what I do instead

W1 = Parameter("Bedroom/Bedroom Width",1000,LINEAR)
L1 = Parameter("Bedroom/Bedroom Length",2500,LINEAR)
W2 = Parameter("Lounge/Lounge Width",3000,LINEAR)
L2 = Parameter("Lounge/Lounge Length",2500,LINEAR)

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

Steve Edwards

#14
Some of this is coming together. I asked ChatGPT if there was a training guide specifically for TC PPM, and it replied that there's a woeful lack of information, with the online guide being not very useful and incomplete. It did offer to write one for me in three sections.

The attached isn't very elegant, but it reports no errors and works. I think using point and polyline would be simpler.

I'm starting to grasp the idea of unique parameter names, and as I get deeper into scripting, I can see the reasoning. As the script develops, the output naturally narrows down to a single item by default.

From your last post Nikki I can see some corrections are required
 

//File Name= Bird box entrance hole plate by bird species

Units(1[mm]);

//Parameters
W =Parameter("Sq Plate"\"Size",70,LINEAR);
W1 =Parameter("Sq Plate"\"Size",70,LINEAR);
r1=Parameter("Bird Hole"\"Radius",12.5,LINEAR,Interval(12.5,22.5));
H=Parameter("Height"\"Thickness",3,LINEAR);//Backplate
H1=Parameter("Height"\"All Holes",10,LINEAR);//Holes to be subtracted
Fh=Parameter("Sq Plate"\"Fixing Holes",60,LINEAR);//Pitch of Fixing Holes
FhDia=Parameter("Sq Plate"\"Fixing Holes Dia",5,LINEAR); //Screw hole size

//Variables
Pitch=Rectangle(W-10,W1-10);//Temp indicates position of fixing holes
hole=Circle(r1); //species specific hole size in square plate
Hole=Thickness(hole,H1);// bird hole not fixing holes
sq=Rectangle(W,W1);//square size of backplate
Box=Thickness(sq,H);//Says box but is thickness of plate
F1T=Thickness(F1,H1);//Thickness of the fixing Holes
F2T=Thickness(F2,H1);//Ditto
F3T=Thickness(F3,H1);//Ditto
F4T=Thickness(F4,H1);//Ditto

//Calculations
F1=Circle(FhDia/2,W/2-10,W1/2-10);
F2=Circle(FhDia/2,-W/2+10,W1/2-10);
F3=Circle(FhDia/2,W/2-10,-W1/2+10);
F4=Circle(FhDia/2,-W/2+10,-W1/2+10);

BirdPlate=BooleanSubtract(Box,Hole,F1T,F2T,F3T,F4T):

Output(BirdPlate)

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

Real progress today, the PPM draws a plate based on bird species. I followed your nested IF syntax Nikki and it worked first time, testiment to your knowledege and my typing accuracy (nine parenthasis).
As a Laser cut part I would stop coding here, but I want to make this a  3D print item. For that I wish to add Chamfers to the fixing holes and fillet the square plate.
//File Name= Bird box entrance hole plate by bird species

Units(1[mm]);

//Parameters
W =Parameter("Square Plate"\"Square Width",70,LINEAR);
W1 =Parameter("Square Plate"\"Square Height",70,LINEAR);
r1=Parameter(25,LINEAR);
H=Parameter("Height"\"Thickness",3,LINEAR);//Backplate
H1=Parameter("Height"\"Extrude Length",10,LINEAR);//Holes to be subtracted
Fh=Parameter("Sq Plate"\"Fixing HolesP",60,LINEAR);//Pitch of Fixing Holes
FhDia=Parameter("Sq Plate"\"Fixing Holes Dia",5,LINEAR); //Screw hole size
species=Parameter("Bird Type","Bird",TEXT,Set("Blue Tit","Coal Tit","Great Tit","House Sparrow","Marsh Tit","Nuthatch","Starling","Tree Sparrow","Woodpecker"))default=30
//Variables
Pitch=Rectangle(W-10,W1-10);//Temp indicates position of fixing holes
hole=Circle(r1/2); //species specific hole size in square plate
Hole=Thickness(hole,H1);// bird hole not fixing holes
sq=Rectangle(W,W1);//square size of backplate
Box=Thickness(sq,H);//Says box but is thickness of plate
F1T=Thickness(F1,H1);//Thickness of the fixing Holes
F2T=Thickness(F2,H1);//Ditto
F3T=Thickness(F3,H1);//Ditto
F4T=Thickness(F4,H1);//Ditto

//Calculations
F1=Circle(FhDia/2,W/2-10,W1/2-10);
F2=Circle(FhDia/2,-W/2+10,W1/2-10);
F3=Circle(FhDia/2,W/2-10,-W1/2+10);
F4=Circle(FhDia/2,-W/2+10,-W1/2+10);

testmulti=IF(species=="BlueTit",25,
IF(species=="Coal Tit",25,
IF(species=="Great Tit",28,
IF(species=="House Sparrow",28,
IF(species=="Marsh Tit",25,
IF(species=="Nuthatch",32,
IF(species=="Starling",45,
IF(species=="Tree Sparrow",28,
IF(species=="Woodpecker",45,default)))))))));


BirdPlate=BooleanSubtract(Box,Hole,F1T,F2T,F3T,F4T):

Output(BirdPlate)
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

#16
Quote from: Steve Edwards on March 12, 2026, 08:29:47 AMI asked ChatGPT if there was a training guide specifically for TC PPM, and it replied that there's a woeful lack of information, with the online guide being not very useful and incomplete. It did offer to write one for me in three sections.
When I write PPM scripts, I keep my formatted version of this section of the User Guide open on my left-hand monitor and refer to it often.  I enter 6/Enter in the Page # field, which brings up both of the only pages of the Table Of Contents — in Two Page View— which I quickly scan for the subject I am querying or stuck on, then click on that for a hyperlink.
  My formatted version of this section of the User Guide is very useful for this.

Perhaps feed your AI(s) this User Guide bits at a time and tell it to learn.
____
By the way:  The two AIs I use— MS Copilot and Google Gemini— often confidently provide completely erroneous answers and/or script with incorrect syntax, words, or other errors.  And that's including when I use the "Pro" or "Thinking" mode, respectively.
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

#17
How are you guys getting TABs in your script, in TC's PPSE?
Such as in Steve's last one, at the IFs, those seem to be TAB indents, not multi spacebars.

When I use TAB in PPSE, it selects all the script.
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 seem to have somehow sent an incorrect script, not even now sure. Possible I had a vesrsion open in TC as well as Notepad++
the line hole=Circle (testmulti/2);  is correct .
New scrip attached. Also this IFs are Tabbed (is this not allowed?)
//File Name= Bird box entrance hole plate by bird species

Units(1[mm]);

//Parameters
W =Parameter("Square Plate"\"Square Width",70,LINEAR);
W1 =Parameter("Square Plate"\"Square Height",70,LINEAR);
r1=Parameter(25,LINEAR);
H=Parameter("Height"\"Thickness",3,LINEAR);//Backplate
H1=Parameter("Height"\"Extrude Length",10,LINEAR);//Holes to be subtracted
Fh=Parameter("Sq Plate"\"Fixing HolesP",60,LINEAR);//Pitch of Fixing Holes
FhDia=Parameter("Sq Plate"\"Fixing Holes Dia",5,LINEAR); //Screw hole size
species=Parameter("Bird Type","Bird",TEXT,Set("Blue Tit","Coal Tit","Great Tit","House Sparrow","Marsh Tit","Nuthatch","Starling","Tree Sparrow","Woodpecker"))default=30
//Variables

hole=Circle(testmulti/2); //species specific hole size in square plate
Hole=Thickness(hole,H1);// bird hole not fixing holes
sq=Rectangle(W,W1);//square size of backplate
Box=Thickness(sq,H);//Says box but is thickness of plate
F1T=Thickness(F1,H1);//Thickness of the fixing Holes
F2T=Thickness(F2,H1);//Ditto
F3T=Thickness(F3,H1);//Ditto
F4T=Thickness(F4,H1);//Ditto

//Calculations
F1=Circle(FhDia/2,W/2-10,W1/2-10);
F2=Circle(FhDia/2,-W/2+10,W1/2-10);
F3=Circle(FhDia/2,W/2-10,-W1/2+10);
F4=Circle(FhDia/2,-W/2+10,-W1/2+10);

testmulti=IF(species=="BlueTit",25,
    IF(species=="Coal Tit",25,
IF(species=="Great Tit",28,
IF(species=="House Sparrow",28,
IF(species=="Marsh Tit",25,
IF(species=="Nuthatch",32,
IF(species=="Starling",45,
IF(species=="Tree Sparrow",28,
IF(species=="Woodpecker",45,default)))))))))


BirdPlate=BooleanSubtract(Box,Hole,F1T,F2T,F3T,F4T):

Output(BirdPlate)
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

This Video demonstrates the Script does work when it is correct syntax. 
Parametric Bird Plate
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

#20
Good progress thus far, Steve.

This works pretty good too.  It's pretty much fully developed, except for Colors and things like that.  So don't look at it too closely, if you want to get all the way through the end on your own.

It was almost ready a couple of days ago; but the mounting holes (you call them "fixing holes") countersinks were a struggle.  There's three ways I can think of to go about creating those countersink holes in TC's PPSE.  I struggled with G3Chamfer, so moved onto subtracting an upside-down Cone.  The other method would be to Sweep a Profile around the 2D Circles and BooleanSubtract those from the plate.
Google Gemini helped me get through the Cone maths and ensuring I didn't have too many or too little parenthesis.  I was tired, and my brain started getting wonky, so I resorted to AI help (I assume they don't get tired and foggy).

With only 9 variations, I doubt this is really worth the time and effort to write a PPM script for.  The regular TurboCAD Platinum features could accomplish pretty much the same thing— using Compound Profile and ACIS Editing History and maybe a little bit of Constraints; but where's the "fun" and sense of satisfaction in that...


//File Name= Bird box entrance hole plate by bird species -001.ppm

Units(1[mm])

//Parameters
OD=Parameter("Plate\Outer Dimension",70,LINEAR,Interval(60,80));
PT=Parameter("Plate\Plate Thickness",3,LINEAR);
OF=Parameter("Plate\Outer Fillet",1,LINEAR,GreaterThan(0.005));
MHD=Parameter("Plate\Mounting Holes Diameter",3,LINEAR);
MHO=Parameter("Plate\Mounting Holes Offset",6,LINEAR);
//CH?=Parameter("Plate\Countersink Mounting Holes",1,CHECKBOX);//not used
MHC=Parameter("Plate\Mounting Holes Countersink Angle",90,ANGULAR);
MHCD=Parameter("Plate\Mounting Holes Countersink Depth",1.65,LINEAR);
BHD=Parameter("Plate\Bird Hole Diameter",25,LINEAR);
T=Parameter("Text\Bird Species","Blue Tit",TEXT,Set("Blue Tit","Coal Tit","Marsh Tit",
            "Great Tit","Tree Sparrow","House Sparrow","Nuthatch","Starling","Woodpecker"));
TF=Parameter("Text\Text Font","Impact",FONT);
TH=Parameter("Text\Text Height",3,LINEAR);
TD=Parameter("Text\Text Deboss Depth",1.0,LINEAR,Interval(0.25,2.5));
TE=Parameter("Text\Text Emboss Height",0.5,LINEAR,Interval(0.01,2.0));

Output(OD,PT,OF,MHD,MHO,CH?,MHC,MHCD,BHD,T,TF,TH,TD,TE);

BHDD=30 //Default Hole if species not found or entered
        //I think this is not possible, since the "Bird Species" Parameter has a "Set" condition -AG
        //I would delete this BHDD=30 Line -AG

//Below IFs Copied/Pasted from Steve Edward's Code in his post 3/13/26 at 03:07:15AM PDT
BHIF1=IF(T=="Blue Tit",25,IF(T=="Coal Tit",25,IF(T=="Great Tit",28,
      IF(T=="House Sparrow",28,IF(T=="Marsh Tit",25,IF(T=="Nuthatch",32,
      IF(T=="Starling",45,IF(T=="Tree Sparrow",28,IF(T=="Woodpecker",45,BHDD)))))))));

//<<Plate>>
P=Thickness(Rectangle(OD,OD,OD/2,OD/2),PT);
  //Mounting Holes
MHBL=Thickness(Circle(MHD/2,MHO,MHO),PT);
MHBR=Thickness(Circle(MHD/2,OD-MHO,MHO),PT);
MHTL=Thickness(Circle(MHD/2,MHO,OD-MHO),PT);
MHTR=Thickness(Circle(MHD/2,OD-MHO,OD-MHO),PT);
MHG=Group(MHBL,MHBR,MHTL,MHTR);
  //Bird Hole
BH=Thickness(Circle(BHIF1/2,OD/2,OD/2),PT);
  //Fillet and Chamfer Arrays
    //Fillet
      ODFAB=Array(Point(OD/2,0,0),Point(OD,OD/2,0),
            Point(OD/2,OD,0),Point(0,OD/2,0));
      ODFR=Array(OFif,OFif,OFif,OFif,
                 OFif,OFif,OFif,OFif);
      ODFAT=Array(Point(OD/2,0,PT),Point(OD,OD/2,PT),
                  Point(OD/2,OD,PT),Point(0,OD/2,PT));
    //Chamfer
      MHCA=Array(Point(MHO+(MHD/2),MHO,PT),Point((OD-MHO)+(MHD/2),MHO,PT), //Mounting Holes Chamfer (points) Array
                 Point(MHO+(MHD/2),OD-MHO,PT),Point((OD-MHO)+(MHD/2),OD-MHO,PT));
      MHCO=Array(MHC,MHC,MHC,MHC,MHC,MHC,MHC,MHC); //Mounting Holes Chamfer Offset

//Fillet and Chamfer
  //Fillet outer edges
OFif=IF(OF<0.01,0.01,OF);

//===========================================================
// Chamfer (countersink) Mounting Holes
  // Cone
//Google Gemini helped me with this section below; my brain got wonky
// 1. Geometry Logic (Degrees)
HAngle = MHC / 2;
BRad = (MHD / 2) + (MHCD * tan(HAngle));
CHeight = BRad / tan(HAngle);         

// 2. Create the Cone
ChCn = Cone(CHeight, BRad);
RotCnBL=Move(RotateY(ChCn,180),MHO,MHO,PT);
RotCnBR=Move(RotateY(ChCn,180),OD-MHO,MHO,PT);
RotCnTL=Move(RotateY(ChCn,180),MHO,OD-MHO,PT);
RotCnTR=Move(RotateY(ChCn,180),OD-MHO,OD-MHO,PT);
GrpRotCn=Group(RotCnBL,RotCnBR,RotCnTL,RotCnTR);
//Output(GrpRotCn);
//==============================================================

//Text
TFt=TextFont(3,TH,0,TF);
TS=TextStyle(MIDDLE,CENTER);
TxtD=SetProperties(Move(Text(T,TFt,TS),OD/2,((OD-BHIF1)/2)/2,PT-TD),
    "TextMode"=3,"Thickness"=TD+TE);
TxtE=Move(TxtD,0,0,0,1);

//Subtract mounting holes, bird hole, text
Plt3D=BooleanSubtract(P,MHG,GrpRotCn,BH,TxtD);
ODF=G3Fillet(Plt3D,(ODFAB,ODFAT),(ODFR,ODFR));
D3=G3Fillet(ODF,Point(OD/2+BHIF1/2,OD/2,PT),OFif);

RP=RefPoint(0,0);
Output(RP,D3,TxtE)
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

What keeps the Blue Tit and Coal Tit and Marsh Tit from getting in the others' holes?
What keeps the Great Tit and House Sparrow and Tree Sparrow from getting in the Nuthatch and Starling and Woodpecker holes?
What keeps the Nuthatch and from getting in the Starling and Woodpecker holes?
What happens when the big ol' Starling and Woodpecker arrive at the same hole at the same time?  Dual it out?
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

Thanks for the help Alvin, this I'm using simply as a project to help learn scripting, I find the process interesting and a challenge, but you are right, the part would be more easily produced using conventional features of TurboCAD.

As for the smaller species getting in the larger holes, well or course ultimately the script will add the species name in the form of a text label on the outside, so they know!  The main problem is teaching the birds to read! 

I too struggled to find a way to countersink the fixing holes and also considered using a cone, even this is tricky as the z position would have to change according to the hole diameter and thickness of plate.

I have coded routines for industrial robots in the past and consider myself reasonable at excel formula. I actually managed to develop a parametric Excel worksheet that output tooling dimensions to TC drawing. The drawing did not scale but the dimensions were correct for the features that changed. Crude,but it got the message across to the machinists very effectively.

Parametric programming in TC I find challenging simply because I tend to jump in and expect to be able to write advanced scripts from the start. My imagination is ahead of my skill and my brain also gets wonky trying to comprehend too much at the same time.

I'm still enjoying learning and will look at your attached script to understand how it works.
Cheers
Steve





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 edited the script I shared yesterday.
I edited it in the Code window within the post and I updated the attachment.
There were some remnants of my final testing that I forgot to clean up:
>Ordering of the Parameters via their Output([Parameters]) function
>removed the // at the second-from-bottom Output so that the Reference Point and the second-object_embossed_Text output also
________________________
Attached is revision-002
I simply added a fillet to the Bird Hole.  So that the little birdies don't get scraped up going in and out of there.
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

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

For those of you following along but know little or nothing about Parametric Parts (PPM) and their scripting in TurboCAD, and are curious, here I have attached the .tcw Drawing File with the Parametric Symbol having been inserted into Modelspace.  Last Saved As v2020, and one Saved As v2019.

Once opened, select the inserted object— a Parametric Symbol— and in Selection Info's lower pane, expand the Parametric Symbol section then the Symbol Parameters section then the categories "Plate" and "Text".  Change some values; watch the object in Modelspace update (dynamically change per the entered values).


They don't work in Deluxe; and I doubt they do in recent versions of Professional.
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

#26
I just discovered that I Output BHD=Parameter("Plate\Bird Hole Diameter",25,LINEAR);
That was inadvertent.
Since the bird hole diameter is driven by the text string in T=Parameter("Text\Bird Species", ..., entering values for the Bird Hole Diameter Parameter does nothing.

Now... with one or two IF functions incorporated, one could probably get the script to where if a numerical value is entered for the BHD Parameter, that overrides the diameter as determined by the IF function of the Bird Species text (T=Parameter("Text\Bird Species",...)


Perfection is hard...
revision -003 attached
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 agree those who are not following along and / or have no interest in scripting would find downloading your drawing intriguing if nothing else.
Writing scripts will always be something I will use occasionally and for niche purposes, but it is a part of TC that can be very useful and, "another string to my bow".

If one is curious enough to download then the Selection Info. Pallet is the only one needed to use the parametric features, you don't need to edit code or even look at it. One might need to highlight the part initially to force the selection info palette to show the Parametric part to show up, then click on the + button to expand the editable features. My video posted earlier shows the basic method. 
I shall download later today, Alvin

Inadvertent errors in the script are a fact of life with my own very limited experience. 

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

Alvin, that's brilliant—you really have a talent for this! You nailed everything, even the mounting hole offset, with one square input and a filleted hole for bird comfort. They'll be happy (I hope they appreciate your attention to detail). One day, I'll fully understand how you coded it too.

The Alvin Scripted version
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 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

#30
Quote from: Steve Edwards on March 15, 2026, 08:14:41 AMPrints Too

Nice.
How good do the M3 machine screws fit?
  (should probably try to set the Z-Seam at the countersinks somewhere else out of the countersink and hole - if possible  —  and Iron the top, right?
  I don't know why I didn't add an option to fillet the bottom of the bird hole.  The little birdies are probably as concerned about getting scraped up on the way out as on the way in.
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 dont think the birdies are overly concerned. From my point of view no further work is required. You might have a look at this Bird Plates
I think there is a market for these, species specific, text labeled surely your PPM version is superior. Takes about 25mins to print that with a bit of experiment I could get sub 20mins. I have not found anyone else print them.

I thought I could contribute something by working out how the use G3Chamfer on a simple part to start with. No joy. AI tells me ther is no G3Chamfer tool in TC.

 
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 March 15, 2026, 11:35:08 AMI thought I could contribute something by working out how the use G3Chamfer on a simple part to start with. No joy. AI tells me ther is no G3Chamfer tool in TC
Your AI is wrong, in this case.  You should teach it, so it won't make the mistake again.

Admittedly, there is not a Tool/Command in the general workspace named G3Chamfer.  But there is a function in PPM scripting named that.  And it works good.
I got it to work on the first (bottom-left) hole.  It was the ambitious Array that I was struggling to figure out. But I'm confident it can be done and I can figure it out.
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

#33
Quote from: Steve Edwards on March 15, 2026, 11:35:08 AMI think there is a market for these, species specific, text labeled surely your PPM version is superior. Takes about 25mins to print that with a bit of experiment I could get sub 20mins. I have not found anyone else print them.
You mean I can make money from this?!*  Now we're talking!!
  That's the main thing I struggle with in spending time with this obsessive hobby-- "What am I doing?...  How does this benefit me?"


*I know Torfinn wrote/provided PPM scripts to others as a side-gig; maybe still does.
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

Chamfer's with fillet in TC's GUI Alvin.  I think G3 means ACIS kernel-based PPSE routines.

Alvin Gregorio

another error found in my revision-003 script
at the MHCD=Parameter("Plate\Mounting Holes Countersink Depth",1.65,LINEAR); line, the default value of 1.65, which is to be taper head height includes the "straight neck" portion of an M3 machine-screw head.
One should enter in that Parameter just the angled portion of the head, not including the straight neck portion.
The default value for MHCD in this M3 case should be 1.30

But-- I am working on a revision-004 that one just selects the screw type (Metric or American/Standard) and Size in the Parameters, and the math works itself out.
It's a lot to expect of the user to research and ascertain the dimensions of the taper head height and the straight neck portion of the head.
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

#36
The "standard" head diameter for screws is a range between limits, while ISO standard says 90 degree included angle, matching standard 45 degree chamfer, American included angle is 83 degrees, fussier in PP script. 

Steve Edwards

Whilst one can be adapt the script to be very exacting with the countersink size, in reality I'm going to search through my box of screws and find four the same that fit.
 Here we have metric screws and number screws that are American standard sizes, and quite often numbered screws with dimensions in metric. We come back to my hinge pocketing jig where the same mixing of standards is widely adopted.  I'm sure the buyers for big DIY stores are buying to a price, they have little concern for, in their eyes, for a subtle difference in size (#4screws sold as M3, 4" hinges as 100mm ). Most DIYers don't care or notice. Personally I can work with both but find the labelling on package annoying when the store adopts " just label as metric, its close enough ".
I'll get off my soapbox now.
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

Finished and on the wall. Great Tits already having a look , obviously cant read. 
Countersink screws 4off -#2 x 3/4".
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 March 16, 2026, 10:04:45 AMFinished and on the wall. Great Tits already having a look , obviously cant read.
Countersink screws 4off -#2 x 3/4".

happy birds...  so I guess you do or intend to have a minimum of nine of these about your property
_____
Because I am still working (playing) on my script— can you elaborate on the #2x¾" wood screws?  That seems like a tiny diameter.  And one not feasible with this plate and bird nesting box and doesn't correspond relative to the dimensions you provided for the plate.
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

The screws I used are #2 x 3/4" Countersunk Screws. The packet says they are equivelent to 3.5mm x20 ? This sounds like it might be different to your info. 

The fixing holes were printed at 3.6 mm. For screws supposidly #2 x 3/4" as metric 3.5mm x 20mm 
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

Alvin, it would seem online information on screw #number sizes to metric conversion is inconsistent. The most common complete information I can find with the help of co pilot is in the attached listing. Clearly #2  = 3.5 mm is wrong (or a misprint). Number #6 is closest to 3.5. mm ( shown often as anything from 3mm to 3.3 to 3.5) .

You cannot view this attachment.

Just got back from a Bird watching holiday in Cyprus, I might have a few of our group interested in the bird box hole plates. I did get the quips on how to teach the birds to read inevitably.
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 March 26, 2026, 12:47:53 AMAlvin, it would seem online information on screw #number sizes to metric conversion is inconsistent.
That inconsistency (that I encountered the other day, from your share, Steve) caused me to lose my interest in continuing to develop the by-screw-size PPM script.
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'm still playing around with scripting with varying degrees of success. The main issue is the lack of published information. A thorough search has not revealed much beyond the TC training guide. Alvin's rewrite helps, but I think I need something that describes the syntax and the structure. At the moment I end up with a tangle of code where I haven't set the logic out properly from the outset. There must be a way of looking at the task and before jumping in , layout the structure, the logic flow, parameters.

Is Tc parametric scripting based on anything that like VB or Python where I can buy a training guide?
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 think we can gain a lot of knowledge and ideas on PPM scripting via reviewing others' scripts.  In TC's PPSE or Notepad++
Including the PPM scripts that come with our installation: C:\Program Files\IMSIDesign\TCW2024\Symbols\PPM
Also including what's in the Forum PPM board; though with the Great Purge, a lot of that is lost.
Also of course, inquiring here, sharing your work and interacting with others (such as Nikki - used to be predominately Torfinn, but he's soaked up with his life in the Philippines now, it seems).

You can also use Google Gemini or other AI, including prompts for SoftDev's SymbolDesigner, which is the basis for TC's PPM scripting.  I ran a quick Gemini search, HERE.
Maybe some searching for the terms or companies listed in the SymbolDesigner Help/About screen-capture below will lead to something.
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

#45
Quote from: Steve Edwards on March 31, 2026, 11:40:40 PMI'm still playing around with scripting with varying degrees of success. The main issue is the lack of published information. A thorough search has not revealed much beyond the TC training guide. Alvin's rewrite helps, but I think I need something that describes the syntax and the structure. At the moment I end up with a tangle of code where I haven't set the logic out properly from the outset. There must be a way of looking at the task and before jumping in , layout the structure, the logic flow, parameters.

Is Tc parametric scripting based on anything that like VB or Python where I can buy a training guide?

From what I can tell it is not really related to any programming language, I assume, a scripting language for non programmers. Purely for parametric symbols.
Simple syntax that is easy to understand
draw a rectangle
UniqueIdentifier = Rectangle(xsize,ysize,xposition,yposition)

Make copies of the rectangle using the Move or one of the Rotate tools

AnotherIDentity = Move(UniqueIdentifier, distancex,distancey,distancez,number of copies)
OR
RotatedCopies = RotateX(UniqueIdentifier,angleInDegrees,pivotY,pivotZ,number of copies)
Or
RotatedCopies = RotateY(UniqueIdentifier,angleInDegrees,pivotX,pivotZ,number of copies)
Or
RotatedCopies = RotateZ(UniqueIdentifier,angleInDegrees,pivotX,pivotY,number of copies)

Anything you want to see needs to be included in the Output.
Output(UniqueIdentifier,RotatedCopies)

That is basically it

You are limited, the only logic, is the IF statement.
You can't iterate through a sequence.

When you need more complex tasks use the SDK.
There is a way to make parametric objects for Turbocad called Regen objects - but that is way beyond my programming skills.
If I need something that is more organic, where each iteration is unique then I use a vb based script (usually vb.net or vbscript), I just live with it not being parametric inside the drawing.
but 9 times out of 10 ppm is the way to go.

The attached a drawing showing examples of both - not scripts just graphics.




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

Steve Edwards

Thank you for your replies I'm perhaps expecting or believing there is more scope to parametric scripting than there is. Nikki your explanation and drawing show me al lot about PPM scripting, it being " a scripting language for non programmers ". The examples clearly demonstrate that.
I will reset, look at existing scripts and try to learn from those and take a look a Soft Dev's Symbol Designer. 
Start simple is the key I think.

Good luck to Torfinn , quite a change of climate. 
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