Skip to content
  • How to clear the Console via Python?

    Moved Python API
    1
    1 Votes
    1 Posts
    216 Views
    No one has replied
  • How to create a Cone from Python?

    Moved Python API
    2
    0 Votes
    2 Posts
    326 Views
    SylvainS

    There is no python interface for the Solid Cone creation tool. However, you can achieve the same result by using the SkinWires() primitive as follows:

    import s4l_v1.model as model import XCoreModeling c1 = model.CreateCircle(model.Vec3(0,0,0), model.Vec3(0,0,1), 50) c2 = model.CreateCircle(model.Vec3(0,0,50), model.Vec3(0,0,1), 25) XCoreModeling.SkinWires([c1, c2])