IArc¶
- class IArc¶
Bases:
IEntity- Description:
Represents an arc entity.
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property bevel_side¶
Gets bevel_side.
- Returns:
The value of bevel_side.
- Return type:
- property bridges¶
Gets Bridges.
- Description:
Gets an IBridges collection representing all the bridges on this arc.
- property centre¶
Gets Centre.
- Description:
The centre point of the arc entity.
- property channel_offset_against¶
Gets channel_offset_against.
- Returns:
The value of channel_offset_against.
- Return type:
channel_offset_against (float)
- property channel_offset_with¶
Gets channel_offset_with.
- Returns:
The value of channel_offset_with.
- Return type:
channel_offset_with (float)
- property clockwise¶
Gets Clockwise.
- Description:
Sets and gets the direction of the arc.
- Returns:
The value of Clockwise.
- Return type:
clockwise (bool)
- property combination_end_mode¶
Gets combination_end_mode.
- Returns:
The value of combination_end_mode.
- Return type:
- property combination_palette1_is_main¶
Gets combination_palette1_is_main.
- Returns:
The value of combination_palette1_is_main.
- Return type:
combination_palette1_is_main (bool)
- property construction¶
Gets Construction.
- Returns:
The value of Construction.
- Return type:
construction (bool)
- property direction_locked¶
Gets direction_locked.
- Description:
Indicates if the direction of the arc is locked.
- Remarks:
If direction_locked is TRUE the direction will not be affected by tools such as Transform Switch, the Arrange tools and the Plot tool.
- Returns:
The value of direction_locked.
- Return type:
direction_locked (bool)
- property display_palette_text¶
Gets display_palette_text.
- Description:
Determines whether palette text is visible or hidden.
- Remarks:
Note that the behaviour of palette text also depends on the palette properties and on the user’s visibility settings. Introduced in Impact 6.4.0.10 and 7.0.0.38.
- Returns:
The value of display_palette_text.
- Return type:
display_palette_text (bool)
- Examples:
Display palette text
- property end¶
Gets End.
- Description:
Gets or sets the end point of the arc.
- property fillet_relief¶
Gets fillet_relief.
- Description:
The fillet relief mode for the arc.
- Remarks:
Introduced in 8.0.0.56
- Returns:
The value of fillet_relief.
- Return type:
- property fillet_relief_extension¶
Gets fillet_relief_extension.
- Description:
The fillet relief extension distance for the arc.
- Remarks:
Introduced in 8.0.0.56
- Returns:
The value of fillet_relief_extension.
- Return type:
fillet_relief_extension (float)
- property fold_data¶
Gets fold_data.
- Description:
Returns an IFoldData object representing the folding data for this entity.
- Remarks:
Introduced in Impact 11.0.0.10.
- property holding_bridge_side¶
Gets holding_bridge_side.
- Returns:
The value of holding_bridge_side.
- Return type:
- property is_circle¶
Gets is_circle.
- Description:
Read is_circle to determine if the arc represents a complete circle.
- Remarks:
If is_circle is TRUE it will have a sweep of 360 degrees.
- Returns:
The value of is_circle.
- Return type:
is_circle (bool)
- property length¶
Gets Length.
- Description:
Gets or sets the length of the arc.
- Returns:
The value of Length.
- Return type:
length (float)
- property radius¶
Gets Radius.
- Description:
The radius of the arc entity.
- Returns:
The value of Radius.
- Return type:
radius (float)
- property rule_height¶
Gets rule_height.
- Returns:
The value of rule_height.
- Return type:
rule_height (float)
- property start¶
Gets Start.
- Description:
Gets or sets the start point of the arc.
- property start_angle¶
Gets start_angle.
- Description:
Gets or sets the start angle.
- Returns:
The value of start_angle.
- Return type:
start_angle (float)
- Examples:
- property sweep_angle¶
Gets sweep_angle.
- Description:
Gets or sets the sweep angle.
- Returns:
The value of sweep_angle.
- Return type:
sweep_angle (float)
- Examples:
- property zipper_side¶
Gets zipper_side.
- Returns:
The value of zipper_side.
- Return type:
- add_bridge(start, width)¶
- Description:
Adds a bridge to the arc.
- Parameters:
start (IVector) – Specifies the start of the bridge.
width (float) – Specifies the width of the bridge.
- clear_bridges()¶
- Description:
Removes all bridges.
- copy_as_construction()¶
- extend(length, from_start)¶
- Description:
Extends the arc by a given amount from either the start or the end.
- Parameters:
length (float) – The length of the extension.
from_start (bool) – If from_start is TRUE the arc is extended from its start point otherwise it is extended from its end point.
- get_along(distance_along)¶
- Description:
Returns a point along the line.
- Remarks:
The point is parametrically defined by a value between 0 and 1. 0 represents the start point, 0.5 the mid point and 1 the end point. If the distance_along is less than zero the start point will be returned. If the distance_along is greater than one then the end point will be returned.
- Parameters:
distance_along (float) – A value between 0 and 1 inclusive that represents the point along the entity that is required.
- get_direction_along(point)¶
- get_nearest_along(point)¶
- intersect_axis(origin, direction, matrix)¶
- intersect_entity(other, type)¶
- Description:
Gets an array of vectors representing the intersection points between this entity and another.
- Parameters:
other (IEntity) – Specifies the other entity.
type (ipIntersectType) – Dictates whether the entities are to be considered as finite segments or infinitely long.
- parameter_along(point, height)¶
- Description:
This method determines a parameter value representing the proportion along the arc by the specified point.
- Remarks:
If the point is not on the arc then height will be equal to the perpendicular distance from the arc to the point.
- Parameters:
point (IVector) – A point on the arc.
height (any) – The perpendicular distance from the arc if point is not on the arc.
- Examples:
- split_at_point(point)¶
- Description:
Splits the arc into two separate arcs.
- Remarks:
The original arc is made equal to the first section of the split arc and the other section is returned by this method. If the point specified is not on the arc or is equal to the start or end of the arc this method will fail.
- Returns:
A new IArc object created as a result of splitting the existing arc.
- Parameters:
point (IVector) – Specifies the point at which the arc should be split.
- Examples: