Skip to content

Rhino/Grasshopper helpful for digital manufacturing and fabricaion processes

License

Notifications You must be signed in to change notification settings

AfshinKoupaei/G-FAB-Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

G-FAB-Tools

Rhino/Grasshopper helpful for digital manufacturing and fabrication processes

The toolbar contains two tools right now :

  1. MultipleCurves Change
  2. Use this icon to change the start point of multiple curves. First, run the command, then select target curves, one by one or using any selection method. Right-click/Enter to proceed and then click on any point on the screen as an attractor point for a change of start points.

    Embeded code of the toolbar icon is :

    ! _-RunPythonScript ( import rhinoscriptsyntax as rs #get Curve curvesID=rs.GetObjects("Select List of Curves",4) pointB=rs.GetPoint() for curveID in curvesID: param=rs.CurveClosestPoint(curveID,pointB) rs.CurveSeam(curveID,param))

  3. SingleCurve Change
  4. Use this icon to change the start point of a single curve. First, run the command, then select the target curve.Right-click/Enter to proceed and then click on any point on the screen as an attractor point for a change of start points.

    Embeded code of the toolbar icon is :

    ! _-RunPythonScript ( import rhinoscriptsyntax as rs #get Curve curveID=rs.GetObject("Select Curve",4) sp=rs.CurveStartPoint(curveID) pointB=rs.GetPoint("Select a point closest to your start point") param=rs.CurveClosestPoint(curveID,pointB) rs.CurveSeam(curveID,param))

Watch the following video on my Youtube channel for more information and if you have problems installing or employing the toolbar.

https://www.youtube.com/watch?v=_LtWjoDqofg

About

Rhino/Grasshopper helpful for digital manufacturing and fabricaion processes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages