Skip to content

WIP: feat: add cylinder model#86

Open
lvjonok wants to merge 2 commits into
masterfrom
feat/cylinder-view
Open

WIP: feat: add cylinder model#86
lvjonok wants to merge 2 commits into
masterfrom
feat/cylinder-view

Conversation

@lvjonok

@lvjonok lvjonok commented Jun 13, 2023

Copy link
Copy Markdown
Member

What's left:

  • add locale "Add cylinder"

Comment thread src/gui_utils.py Outdated
self.r1 = r1

def toFile(self) -> str:
return f"cylinder Z{self.z} R{self.r0} R{self.r1}"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mm, R and R ...

Comment thread src/window.py
elif isinstance(p, Cone):
act = gui_utils.create_cone_actor((p.x, p.y, p.z), p.cone_angle, p.h1, p.h2)
elif isinstance(p, Cylinder):
act = gui_utils.create_cylinder_actor(p.z, p.r0, p.r1)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants