Jump to content

Recommended Posts

Posted (edited)

Code isn't optimized.

Currently it supports drawing cube, cone, sphere and cylinder. You can save and open your drawings and edit added shapes.

3D modeling.au3

Custom shape: Name Nail.csh

[Shapes]
parameters=8
1=input,X center
2=input,Y center
3=input,Z center
4=input,Head diameter
5=input,Head thickness
6=input, Shank diameter
7=input,Shank height
8=input,Pinnacle height
9=AddCylinder($object_,$p[1],$p[2],$p[3],$p[4],$p[4],$p[5],20,20,0.8,0.8,0.8,1.0)
10=AddCylinder($object_,$p[1],$p[2]-$p[7],$p[3],$p[6],$p[6],$p[7],20,20,0.8,0.8,0.8,1.0)
11=AddCylinder($object_,$p[1],$p[2]-$p[7]-$p[8],$p[3],0,$p[6],$p[8],20,20,0.8,0.8,0.8,1.0)

You will need

Edited by ahmet
Posted (edited)

Adding custom shapes is "buggy".

Updated:

-Some bug fixes

-Changed csh files format, a bit

Edit: Custom shapes should work ok now

Edited by ahmet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...