RhinoCommon Scale1D

Is there a function that will Scale1D?

I can do the normal scale:

Dim Transform_Scale As Geometry.Transform = Rhino.Geometry.Transform.Scale(New Rhino.Geometry.Point3d(AnchorX, AnchorY, AnchorZ), Size)
RhinoDoc.ActiveDoc.Objects.Transform(Guid, Transform_Scale, True)

There is:

public static Transform Scale(
	Plane plane,
	double xScaleFactor,
	double yScaleFactor,
	double zScaleFactor


Yeah just found the solution myself. I’m using a point3d and I need to use plane.
Thanks :slight_smile:

Do have a question about plane.

There is aX, bY, cZ and D
So A stands for X location
B for Y location
C for Z location

What does D do?

And why can’t a plane with scaling not be Plane(0,0,0,0) because I want my Center of the plane on 0,0,0

I’m confused. What are you referring to?

Just use Rhino.Geometry.Plane.WorldXY.

The A, B, C and D are for the plane equation: Ax+By+Cz=D. This defines a plane completely, and takes up only 4 floating point numbers.

A plane can also be defined with an origin (Point3d) and a normal (Vector3d), or by choosing one of the pre-defined planes: WorldXY, WorldXZ or WorldYZ.

@dale Sorry for the bad explanation but I was searching for the answer Menno gave :slight_smile:
@menno Oh the point3d and normal vector3d was the second thing I was searching for xD
I know how to work with vector and point3d origin, but before i just played around with abcd and filled in some numbers till I got the result I wanted xD