Skip to content

Commit 29374ca

Browse files
committed
Adding buds, tweaking curve
1 parent 7ce20a7 commit 29374ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

make_branch_geometry.py

+4
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,10 @@ def place_buds(self, locs):
269269
if __name__ == '__main__':
270270
branch = MakeTreeGeometry("data")
271271

272+
branch.make_branch_segment([506.5, 156.0, 0.0], [457.49999996771703, 478.9999900052037, 0.0], [521.5, 318.0, 0.0 ], radius_start=10.5, radius_end=8.25,
273+
start_is_junction=True, end_is_bud=False)
274+
branch.write_mesh("data/jos.obj")
275+
272276
branch.make_branch_segment([-0.5, 0.0, 0.0], [0.0, 0.1, 0.05], [0.5, 0.0, 0.0], radius_start=0.5, radius_end=0.25,
273277
start_is_junction=True, end_is_bud=False)
274278
branch.write_mesh("data/cyl.obj")

0 commit comments

Comments
 (0)