i want to make a brick wall by using rhino python.
the python editor in rhino is not user friendly, so i searched any alternative method.
now i can use VS code directly to make any meshes and blocks in the rhino python.
but in the part of making wall, i divide line for a brick, then i need to extrude a line to make the plane, which i am not able to do.
then i tried to do dispatch like grasshopper to separate points alternatively so that i can make a English bond which also i couldn’t solve.
Here is the latest code until dividing the line by the points.
import rhinoscriptsyntax as rs
import Rhino
from Rhino.Input import *
from Rhino.DocObjects import *
from Rhino.Commands import *
from Rhino.Geometry import *
from Rhino.Geometry.Intersect import *
l = 220
b = 110
h = 65
mortar = 10
#first alternate points ap1
ap1 = (mortar+l)
#second alternate points ap2
ap2 =
curve = rs.GetObject("selct a curve")
divider1 = (ap1)
divider2 = (ap2)
if rs.IsCurve(curve):
points = rs.DivideCurveLength(curve, divider1)
for point in points: rs.AddPoint(point)