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.
An object of the same type as this, with the same properties and behavior.
...
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.
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.
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.
0.0 = starting profile 1.0 = ending profile.
A plane. The plane is Invalid on failure.
0.0 = starting profile 1.0 = ending profile.
A plane. The plane is Invalid on failure.
0.0 = starting profile 1.0 = ending profile.
A Transformation. The transform is Invalid on failure.
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.
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.
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)
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.
false if object cannot be converted to a deformable object. true if object was already deformable or was converted into a deformable object.
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.
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.
...
Angle of rotation in radians.
Direction of the axis of rotation.
Point on the axis of rotation.
true if geometry successfully rotated.
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.
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.
NurbsSurface on success, null on failure.
...
Transformation to apply to geometry.
true if geometry successfully transformed.
The index specifying which precise item to retrieve.
The surface.
StaticcreatePlanar 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
StaticcreateStaticcreateStaticcreateIsFinite 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.
StaticcreatePlanar curve used as profile
The curve is projected to this plane
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
StaticdecodeA json formatted object in the following format (values are orientative):
{
version: 10000,
archive3dm: 60,
opennurbs: -1877964208,
data: 'encoded 3dm object data'
}
Gets the amount of capping surfaces.