Home
Reply
Regular Contributor
sawarsi
Posts: 53

prop edge

i have a question concerning prop edges. can a prop edge cross the periodic boundary of the underlying surface? for example, if you have a cylinder bounded by loops at the top and bottom but connected with a prop edge which is not a seam edge can this edge cross over the periodic boundary of the cylinder?

 

Spatial Employee
Brian
Posts: 20

Re: prop edge

Hi sawarsi,

The answer is: yes - the prop edge can cross the periodic seam.

 

One note of caution, if you are using low-level interfaces to make edges: you may need to split the edges at poles (e.g., on a sphere), using api_split_edges_at_poles.

 

Hope this helps,

Brian

 

PS - Here is a scheme script which demonstrates the example in your question.

 

(part:clear)
(define c (solid:cylinder 0 0 0 0 0 10 5))
(define f  (car (filter:apply (filter:type "face:cylindrical?") (entity:faces c))))
(define law1 (law "vec (x -1.0, x - 4)"))
(define edge1 (edge:plaw f law1 0 2))
(define w (wire-body edge1))
(solid:imprint c w)
(entity:delete w)