Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FACE 特異メソッド split の挙動 #21

Open
HiroyasuHamada opened this issue Sep 16, 2016 · 0 comments
Open

FACE 特異メソッド split の挙動 #21

HiroyasuHamada opened this issue Sep 16, 2016 · 0 comments
Labels

Comments

@HiroyasuHamada
Copy link
Collaborator

次の shell1 と shell2 を作ると,shell2 は切り取った2つの FACE を保持していますが,shell1 は一方しか保持していません.少し気持ち悪い感じがします.

> include Siren
 => [Siren]
> myplane = plane [0, 0, 0], [0, 0, 1], [1, 0, 0], -2, 2, -2, 2
 => #<Shape:0x14fbec0 @type=FACE>
> wire1 = polyline [[-2, 0, 0], [2, 0, 0], [2, 2, 0], [-2, 2, 0], [-2, 0, 0]]
 => #<Shape:0x14fbbc0 @type=WIRE>
> shell1 = myplane.split wire1
 => #<Shape:0x14fba70 @type=FACE>
> wire2 = polyline [[0, 0, 0], [1, 0, 0], [1, 2, 0], [0, 2, 0], [0, 0, 0]]
 => #<Shape:0x14fb770 @type=WIRE>
> shell2 = myplane.split wire2
 => #<Shape:0x14fb620 @type=SHELL>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant