• Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

ZMT zurich med tech

Plot Ellipsoid

Scheduled Pinned Locked Moved Python API
4 Posts 3 Posters 223 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ari
    wrote on last edited by
    #1

    I have to draw an ellipsoid with major axis along the x axis and the minor axis parallel to the y axis, centered in the plane.
    I drew an ellipse using the XCoreModeling.CreateEllipse () function, then I would rotate the ellipse around its major axis to create the ellipsoid.
    But i couldn't find any function in python API that could help me, can anyone help me? Maybe there is a faster way. Thanks.

    SylvainS 1 Reply Last reply
    0
  • SylvainS Offline
    SylvainS Offline
    Sylvain ZMT
    replied to Ari on last edited by
    #2

    Hi Ari,

    I drew an ellipse using the XCoreModeling.CreateEllipse () function

    i couldn't find any function in python API that could help me

    Maybe there is a faster way

    What is the problem exactly? Do you get an error message? or is it too slow? or... ?

    S 1 Reply Last reply
    0
  • S Offline
    S Offline
    suchitkumar
    replied to Sylvain on last edited by suchitkumar
    #3

    @sylvain said in Plot Ellipsoid:

    Hi Ari,

    I drew an ellipse using the XCoreModeling.CreateEllipse () function

    i couldn't find any function in python API that could help me

    Maybe there is a faster way

    What is the problem exactly? Do you get an error message? or is it too slow? or... ?

    Hi Ari

    In my opinion, best and fastest way to create an ellipsoid will be using the Sim4Life GUI.
    Create a sphere under Solid tool of desired radius and then click Move Option, you will see stretch option, which can be used to stretch and shrink the sphere.
    When you click Stretch, you will see arrows in 3-axis. Click your required axis, then you will see an window showing the ratio of how much you want to stretch (>1) or shrink (<1). write your desired ratio there, your sphere will get stretch or shrinked.

    I have attached a screenshot for reference. Hope this help.

    ae2841d7-dd2b-4ee8-996c-25139d239001-image.png

    1 Reply Last reply
    0
  • A Offline
    A Offline
    Ari
    wrote on last edited by
    #4

    Thanks for the answer, it works!
    I hadn't seen the feature Stretch.

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Search