Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
update: change disc to circ
Browse files Browse the repository at this point in the history
  • Loading branch information
uysalibov committed Mar 15, 2024
1 parent 04a1b62 commit 63f255f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions marble-sculp/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,10 @@ async def dfn(request: Request, payload: FractureModel):
circ2 = Circle(radius=bae["value"])
circ2.rotate(bae_rot[0], bae_rot[1])
circ2.move(bae["pos"][0], bae["pos"][1], bae["pos"][2])
# scene.add(circ2)
inter = circ2.intersections(marb.edges, marb.vertices)
if inter:
scene.add(inter)
scene.add(circ2)
# inter = circ2.intersections(marb.edges, marb.vertices)
# if inter:
# scene.add(inter)

postfix = f"-{randint(0,1000)}"
scene.convert_objV2(filename="dfn/" + payload.filename + postfix)
Expand Down

0 comments on commit 63f255f

Please sign in to comment.