Line#

class Drawing.Line#

A line. Created using Drawing.add_line().

start: Tuple#

Start position of the line.

Attribute:

Can be read or written

Return type:

Tuple

end: Tuple#

End position of the line.

Attribute:

Can be read or written

Return type:

Tuple

reference_frame: SpaceCenter.ReferenceFrame#

Reference frame for the positions of the object.

Attribute:

Can be read or written

Return type:

SpaceCenter.ReferenceFrame

visible: boolean#

Whether the object is visible.

Attribute:

Can be read or written

Return type:

boolean

color: Tuple#

Set the color

Attribute:

Can be read or written

Return type:

Tuple

material: string#

Material used to render the object. Creates the material from a shader with the given name.

Attribute:

Can be read or written

Return type:

string

thickness: number#

Set the thickness

Attribute:

Can be read or written

Return type:

number

remove()#

Remove the object.