Does cylinder or Line3d not appear when using API?

Does cylinder or Line3d not appear when using API?

Anonymous
Not applicable
689 Views
1 Reply
Message 1 of 2

Does cylinder or Line3d not appear when using API?

Anonymous
Not applicable

Hello, I am trying to create a complex woven structure called IsoTruss (see picture attached) using the API. I first thought I could create points or line3d, and use the line to complete a pipe. I could not find the the API documentation on how to create a pipe using the API, so I tried it with a cylinder. I created a vector for the axis, and made a cylinder, but it doesn't appear in fusion 360. I have checked through the code if the cylinder is valid and everything, and it says it is, but I don't see it appear in fusion when I run it. 

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

ekinsb
Alumni
Alumni
There are some objects in the API that represent low level geometry and mathematical related concepts and don't directly represent visible objects in Fusion. All of the objects you listed, along with some others like Matrix3D and Vector3D, fall into this category. Solids are created by creating features and the result is a boundary representation of the model. For example, if you create a primitive cylinder or extrude a circle, the result is a body made up of three faces. One face has a cylindrical shape and the other two are planar. If you use the geometry property of the cylindrical face it will return a Cylinder object which provides the mathematical definition of the cylinder.

For your specific case, I would recommend looking at drawing the centerline of the cylinders as sketch lines and then look at the sweep feature to create the real geometry that you see.

Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog