Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages