Returns true if the Brep.TryConvertBrep function will be successful for this object
Gets a value indicating whether the surface that fills the bottom profile is existing.
Gets a value indicating whether the surface that fills the top profile is existing.
true if object can be accurately modified with "squishy" transformations like projections, shears, and non-uniform scaling.
Gets a value indicating whether a miter plane at the end is defined.
Returns a value indicating whether a miter plane at start is defined.
Gets a value indicating whether there is no gap among all surfaces constructing this object.
Tests an object to see if it is valid.
...
Gets or sets the normal of the miter plane at the end in profile coordinates. In profile coordinates, 0,0,1 always maps to the extrusion axis
Gets or sets the normal of the miter plane at the start in profile coordinates. In profile coordinates, 0,0,1 always maps to the extrusion axis
Useful for switch statements that need to differentiate between basic object types like points, curves, surfaces, and so on.
Gets the end point of the path.
Gets the start point of the path.
Gets the up vector of the path.
Gets the amount of profile curves.
Gets the amount of user strings.
Closed curve in the XY plane or a 2d curve.
true if the profile was set.
Adds an inner profile.
An object of the same type as this, with the same properties and behavior.
Constructs a deep (full) copy of this object.
A first parameter.
A second parameter.
[boolean, Plane] (boolean) true if this operation succeeded; otherwise false. (Plane) A frame plane that will be computed during this call.
Computes the orient plane on a surface given a U and V parameter. This is the simple evaluation call with no error handling.
If true, a physically accurate bounding box will be computed. If not, a bounding box estimate will be computed. For some geometry types there is no difference between the estimate and the accurate bounding box. Estimated bounding boxes can be computed much (much) faster than accurate (or "tight") bounding boxes. Estimated bounding boxes are always similar to or larger than accurate bounding boxes.
The bounding box of the geometry in world coordinates or BoundingBox.Empty if not bounding box could be found.
Bounding box solver. Gets the world axis aligned bounding box for the geometry.
The parameter in the S, or sometimes U, direction, of this surface.
The parameter in the T, or sometimes V, direction of this surface.
[boolean, number, number] (boolean) True if the operation succeeded; otherwise, false. (number) S on the NURBS form. (number) T on the NURBS form.
Translates a parameter from the current surface to the parameter space of the surface returned by .
The parameter in the S, or sometimes U, direction of the NURBS form surface.
The parameter in the T, or sometimes V, direction of the NURBS form surface.
[boolean, number, number] (boolean) True if the operation succeeded; otherwise, false. (number) S on this surface. (number) T o n this surface.
Translates a parameter from a value on the surface returned by to the current surface.
Surface u parameter to test.
Surface v parameter to test.
0 if not a seam, 1 if u == Domain(0)[i] and srf(u, v) == srf(Domain(0)[1-i], v) 2 if v == Domain(1)[i] and srf(u, v) == srf(u, Domain(1)[1-i]) 3 if 1 and 2 are true.
Tests if a surface parameter value is at a seam.
Surface u parameter to test.
Surface v parameter to test.
If true, test if (u,v) is exactly at a singularity. If false, test if close enough to cause numerical problems.
true if surface is singular at (s,t)
Tests if a surface parameter value is at a singularity.
0 first parameter varies and second parameter is constant e.g., point on IsoCurve(0,c) at t is srf(t,c) This is a horizontal line from left to right 1 first parameter is constant and second parameter varies e.g., point on IsoCurve(1,c) at t is srf(c,t This is a vertical line from bottom to top.
The parameter that was constant on the original surface.
An isoparametric curve or null on error.
Gets isoparametric curve.
false if object cannot be converted to a deformable object. true if object was already deformable or was converted into a deformable object.
If possible, converts the object into a form that can be accurately modified with "squishy" transformations like projections, shears, an non-uniform scaling.
The path as a line curve.
Gets the line-like curve that is the conceptual axis of the extrusion.
The path as a line curve.
Gets the line-like curve that is the conceptual axis of the extrusion.
0 <= profileIndex < ProfileCount The outer profile has index 0.
0.0 <= s <= 1.0 A relative parameter controlling which profile is returned. 0 = bottom profile and 1 = top profile.
The profile.
Gets a transversal isocurve of the extruded profile.
Parameter on profile curve.
-1 if profileParameter does not correspond to a point on the profile curve. When the profileParameter corresponds to the end of one profile and the beginning of the next profile, the index of the next profile is returned.
Gets the index of the profile curve at a domain related to a parameter.
Angle of rotation in radians.
Direction of the axis of rotation.
Point on the axis of rotation.
true if geometry successfully rotated.
Rotates the object about the specified axis. A positive rotation angle results in a counter-clockwise rotation about the axis (right hand rule).
curve in the XY plane or a 2D curve.
If outerProfile is a closed curve, then cap determines if the extrusion has end caps. If outerProfile is an open curve, cap is ignored.
true if the profile was set. If the outer profile is closed, then the extrusion may also have inner profiles. If the outer profile is open, the extrusion may not have inner profiles. If the extrusion already has a profile, the set will fail.
Sets the outer profile of the extrusion.
The start point.
The end point.
The up vector.
true if the operation succeeded; otherwise false. Setting up=a-b will make the operation fail.
Allows to set the two points at the extremes and the up vector.
If true and the profiles have kinks, then the faces corresponding to those profiles are split so they will be G1.
A brep with a similar shape like this extrusion, or null on error.
Constructs a brep form of the extrusion. The outer profile is always the first face of the brep. If there are inner profiles, additional brep faces are created for each profile. If the outer profile is closed, then end caps are added as the last two faces of the brep.
NurbsSurface on success, null on failure.
Gets a NURBS surface representation of this surface. Default tolerance of 0.0 is used.
Transformation to apply to geometry.
true if geometry successfully transformed.
Transforms the geometry. If the input Transform has a SimilarityType of OrientationReversing, you may want to consider flipping the transformed geometry after calling this function when it makes sense. For example, you may want to call Flip() on a Brep after transforming it.
The index of this profile.
The profile.
Gets one of the longitudinal curves along the beam or extrusion.
The index specifying which precise item to retrieve.
The surface.
Gets one of the longitudinal surfaces of the extrusion.
Static
createPlanar curve used as profile
If the height > 0, the bottom of the extrusion will be in plane and the top will be height units above the plane. If the height < 0, the top of the extrusion will be in plane and the bottom will be height units below the plane. The plane used is the one that is returned from the curve's TryGetPlane function.
If the curve is closed and cap is true, then the resulting extrusion is capped.
If the input is valid, then a new extrusion is returned. Otherwise null is returned
Creates an extrusion of a 3d curve (which must be planar) and a height.
Static
createStatic
createIsFinite must be true.
If true, the end at cylinder.Height1 will be capped.
If true, the end at cylinder.Height2 will be capped.
Extrusion on success. null on failure.
Gets an extrusion form of a cylinder.
Static
createIsFinite must be true.
If cylinder.Radius is less than other radius, then the cylinder will be the inside of the pipe.
If true, the end at cylinder.Height1 will be capped.
If true, the end at cylinder.Height2 will be capped.
Extrusion on success. null on failure.
Gets an extrusion form of a pipe.
Static
decodeA json formatted object in the following format (values are orientative):
{
version: 10000,
archive3dm: 60,
opennurbs: -1877964208,
data: 'encoded 3dm object data'
}
Decodes a Rhino Object
Generated using TypeDoc
Gets the amount of capping surfaces.