kdatattoo.blogg.se

Fusion 360 3d sketch
Fusion 360 3d sketch






fusion 360 3d sketch

  • How to sketch equation curves in Fusion 360.
  • For a more in-depth understanding of the API be sure to take a look at the Fusion 360 API User manual, sample scripts and the API training series playlist on YouTube.īig thanks to Macaba on the Odrive discord channel for showing me his cycloidal script which I modified to use as the example in this post. (points)īelow is how this sketch looks when viewed face on and at an angle. T = startRange + ((endRange – startRange)/splinePoints)*i To extend this concept into 3D space we only need to add another coordinate Z and include that in the points object. If you prefer to work in different units see this section of the Fusion 360 API manual. While i 500) may cause a considerable delay in generating your sketch or may even crash Fusion 360 completely.Īlso note that the API exclusively works in the units of cm for length, radians for angles (radians = degrees * pi/180) and kg for mass.

    fusion 360 3d sketch

    # WARMING: Using more than a few hundred points may cause your system to hang. SplinePoints = 100 # Number of points that splines are generated. StartRange = 0 # Start of range to be evaluated.ĮndRange = 2*math.pi # End of range to be evaluated. Points = () # Create an object collection for the points. # Get the root component of the active design. Import re, adsk.fusion, adsk.cam, traceback, math Refer to the following example python script to suit your need which can be found here. Get acquainted with the basics of how to use the API by watching the following short video from the Autodesk Design Academy channel.Ģ.To do so we can follow a few simple steps:

    fusion 360 3d sketch

    Which when plotted over range 0 to 6.3 (2pi) (spreadsheet here) looks like the following: For example, how would you sketch a line along the following equation This is useful when you need to produce a specific, mathematically correct curve that can not be formed easily from primitive geometric shapes. In this tutorial we will be using the API in Fusion 360 to sketch a curve using an equation in both 2D and 3D. This is a powerful tool which is useful for automating repetitive tasks and writing add-ins like those you will find on the Autodesk app-store. The Fusion 360 API ( Application Programming Interface) allows you to control the functionality of Fusion 360 by wiring code rather than directly through the graphical interface. This tutorial details how you can get similar functionality using the Fusion 360 API. The ability to sketch an equation curve is available in Autodesk’s more professional (and expensive) CAD product, Autodesk Inventor, but is missing from Fusion360’s.








    Fusion 360 3d sketch