Scripting Fillets

Scripting Fillets

anil_tamang_ma
Contributor Contributor
419 Views
1 Reply
Message 1 of 2

Scripting Fillets

anil_tamang_ma
Contributor
Contributor

Is there a way in plant3d to include fillet and chamfer in python code. also i add my code for the valve which i am trying to make and when i try to customize it in the drawing using the custom part tool , i receive an error suggesting i have no symbol. how to fix this issue. also how can i include bolts in my code with imports. 

0 Likes
420 Views
1 Reply
Reply (1)
Message 2 of 2

EddyWagner
Advocate
Advocate

What error are you getting, and when exactly does it occur?

Regarding the bolts, you can represent them using simple boxes, but you'll need to calculate the size of each face manually. Here’s an example:

 

dnSextValve = DnDeri * 1.25
angleInRadians = math.radians(60)
boxSize = 2 * ((dnSextValve / 2) * math.sin(angleInRadians))

 

As for the chamfer, you'll need to model a solid to use as a cutting volume and subtract it from your main geometry.