Jump to content
Sign in to follow this  
ahmet

3D modeling

Recommended Posts

ahmet

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

Share this post


Link to post
Share on other sites
ahmet

Updated

-Added ability to add custom shapes made of elementary shapes

Share this post


Link to post
Share on other sites
ahmet

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.