You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.
When I tried to obtain a uv-curve from a surface object using one of the edges of its brep and passing the surface as the on-surface argument, I get a segmentation 11 error. Passing the brep's first face fixes the error, but the point is that segmentation 11 errors should never happen. Serious bug, I think. Perhaps test if SMLib returned curve is a null-curve or something. Try to replicate calling seg11 and no-seg11 below.
(in-package:gdl-user)
(define-object test-lofted-surface (base-object)
:computed-slots
((curves (list (the curve-1) (the curve-2)))
(seg11 (the lofted-surface brep (edges 2) (uv-curve (the lofted-surface)) :start))
(no-seg11 (the lofted-surface brep (edges 2) (uv-curve (the lofted-surface brep (faces 0))) :start)))
:objects
((lofted-surface :type'lofted-surface
:curves (the curves))
(curve-1 :type'b-spline-curve
:display-controls (list:color:red:line-thickness3)
:control-points (list (make-point 000)
(make-point 110)
(make-point 010)
(make-point 000)))
(curve-2 :type'b-spline-curve
:display-controls (list:color:red:line-thickness3)
:control-points (list (make-point 001)
(make-point -111)
(make-point 011)
(make-point 001)))
))
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I tried to obtain a uv-curve from a surface object using one of the edges of its brep and passing the surface as the on-surface argument, I get a segmentation 11 error. Passing the brep's first face fixes the error, but the point is that segmentation 11 errors should never happen. Serious bug, I think. Perhaps test if SMLib returned curve is a null-curve or something. Try to replicate calling seg11 and no-seg11 below.
The text was updated successfully, but these errors were encountered: