1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263
|
import OCP.StepToGeom
from typing import *
from typing import Iterable as iterable
from typing import Iterator as iterator
from numpy import float64
_Shape = Tuple[int, ...]
import OCP.StepRepr
import OCP.Geom
import OCP.TColStd
import OCP.gp
import OCP.StepGeom
import OCP.StepData
import OCP.Geom2d
__all__ = [
"StepToGeom"
]
class StepToGeom():
"""
This class provides static methods to convert STEP geometric entities to OCCT. The methods returning handles will return null handle in case of error. The methods returning boolean will return True if succeeded and False if error.
"""
@staticmethod
def MakeAxis1Placement_s(SA : OCP.StepGeom.StepGeom_Axis1Placement,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_Axis1Placement:
"""
None
"""
@staticmethod
@overload
def MakeAxis2Placement_s(SA : OCP.StepGeom.StepGeom_Axis2Placement3d,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_Axis2Placement:
"""
None
None
"""
@staticmethod
@overload
def MakeAxis2Placement_s(SP : OCP.StepGeom.StepGeom_SuParameters) -> OCP.Geom.Geom_Axis2Placement: ...
@staticmethod
def MakeAxisPlacement_s(SA : OCP.StepGeom.StepGeom_Axis2Placement2d,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom2d.Geom2d_AxisPlacement:
"""
None
"""
@staticmethod
def MakeBSplineCurve2d_s(SC : OCP.StepGeom.StepGeom_BSplineCurve,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom2d.Geom2d_BSplineCurve:
"""
None
"""
@staticmethod
def MakeBSplineCurve_s(SC : OCP.StepGeom.StepGeom_BSplineCurve,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_BSplineCurve:
"""
None
"""
@staticmethod
def MakeBSplineSurface_s(SS : OCP.StepGeom.StepGeom_BSplineSurface,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_BSplineSurface:
"""
None
"""
@staticmethod
def MakeBoundedCurve2d_s(SC : OCP.StepGeom.StepGeom_BoundedCurve,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom2d.Geom2d_BoundedCurve:
"""
None
"""
@staticmethod
def MakeBoundedCurve_s(SC : OCP.StepGeom.StepGeom_BoundedCurve,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_BoundedCurve:
"""
None
"""
@staticmethod
def MakeBoundedSurface_s(SS : OCP.StepGeom.StepGeom_BoundedSurface,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_BoundedSurface:
"""
None
"""
@staticmethod
def MakeCartesianPoint2d_s(SP : OCP.StepGeom.StepGeom_CartesianPoint,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom2d.Geom2d_CartesianPoint:
"""
None
"""
@staticmethod
def MakeCartesianPoint_s(SP : OCP.StepGeom.StepGeom_CartesianPoint,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_CartesianPoint:
"""
None
"""
@staticmethod
def MakeCircle2d_s(SC : OCP.StepGeom.StepGeom_Circle,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom2d.Geom2d_Circle:
"""
None
"""
@staticmethod
def MakeCircle_s(SC : OCP.StepGeom.StepGeom_Circle,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_Circle:
"""
None
"""
@staticmethod
def MakeConic2d_s(SC : OCP.StepGeom.StepGeom_Conic,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom2d.Geom2d_Conic:
"""
None
"""
@staticmethod
def MakeConic_s(SC : OCP.StepGeom.StepGeom_Conic,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_Conic:
"""
None
"""
@staticmethod
def MakeConicalSurface_s(SS : OCP.StepGeom.StepGeom_ConicalSurface,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_ConicalSurface:
"""
None
"""
@staticmethod
def MakeCurve2d_s(SC : OCP.StepGeom.StepGeom_Curve,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom2d.Geom2d_Curve:
"""
None
"""
@staticmethod
def MakeCurve_s(SC : OCP.StepGeom.StepGeom_Curve,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_Curve:
"""
None
"""
@staticmethod
def MakeCylindricalSurface_s(SS : OCP.StepGeom.StepGeom_CylindricalSurface,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_CylindricalSurface:
"""
None
"""
@staticmethod
def MakeDirection2d_s(SD : OCP.StepGeom.StepGeom_Direction) -> OCP.Geom2d.Geom2d_Direction:
"""
None
"""
@staticmethod
def MakeDirection_s(SD : OCP.StepGeom.StepGeom_Direction) -> OCP.Geom.Geom_Direction:
"""
None
"""
@staticmethod
def MakeElementarySurface_s(SS : OCP.StepGeom.StepGeom_ElementarySurface,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_ElementarySurface:
"""
None
"""
@staticmethod
def MakeEllipse2d_s(SC : OCP.StepGeom.StepGeom_Ellipse,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom2d.Geom2d_Ellipse:
"""
None
"""
@staticmethod
def MakeEllipse_s(SC : OCP.StepGeom.StepGeom_Ellipse,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_Ellipse:
"""
None
"""
@staticmethod
def MakeHyperbola2d_s(SC : OCP.StepGeom.StepGeom_Hyperbola,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom2d.Geom2d_Hyperbola:
"""
None
"""
@staticmethod
def MakeHyperbola_s(SC : OCP.StepGeom.StepGeom_Hyperbola,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_Hyperbola:
"""
None
"""
@staticmethod
def MakeLine2d_s(SC : OCP.StepGeom.StepGeom_Line,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom2d.Geom2d_Line:
"""
None
"""
@staticmethod
def MakeLine_s(SC : OCP.StepGeom.StepGeom_Line,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_Line:
"""
None
"""
@staticmethod
def MakeParabola2d_s(SC : OCP.StepGeom.StepGeom_Parabola,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom2d.Geom2d_Parabola:
"""
None
"""
@staticmethod
def MakeParabola_s(SC : OCP.StepGeom.StepGeom_Parabola,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_Parabola:
"""
None
"""
@staticmethod
def MakePlane_s(SP : OCP.StepGeom.StepGeom_Plane,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_Plane:
"""
None
"""
@staticmethod
def MakePolyline2d_s(SPL : OCP.StepGeom.StepGeom_Polyline,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom2d.Geom2d_BSplineCurve:
"""
None
"""
@staticmethod
def MakePolyline_s(SPL : OCP.StepGeom.StepGeom_Polyline,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_BSplineCurve:
"""
None
"""
@staticmethod
def MakeRectangularTrimmedSurface_s(SS : OCP.StepGeom.StepGeom_RectangularTrimmedSurface,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_RectangularTrimmedSurface:
"""
None
"""
@staticmethod
def MakeSphericalSurface_s(SS : OCP.StepGeom.StepGeom_SphericalSurface,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_SphericalSurface:
"""
None
"""
@staticmethod
def MakeSurfaceOfLinearExtrusion_s(SS : OCP.StepGeom.StepGeom_SurfaceOfLinearExtrusion,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_SurfaceOfLinearExtrusion:
"""
None
"""
@staticmethod
def MakeSurfaceOfRevolution_s(SS : OCP.StepGeom.StepGeom_SurfaceOfRevolution,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_SurfaceOfRevolution:
"""
None
"""
@staticmethod
def MakeSurface_s(SS : OCP.StepGeom.StepGeom_Surface,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_Surface:
"""
None
"""
@staticmethod
def MakeSweptSurface_s(SS : OCP.StepGeom.StepGeom_SweptSurface,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_SweptSurface:
"""
None
"""
@staticmethod
def MakeToroidalSurface_s(SS : OCP.StepGeom.StepGeom_ToroidalSurface,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_ToroidalSurface:
"""
None
"""
@staticmethod
def MakeTransformation2d_s(SCTO : OCP.StepGeom.StepGeom_CartesianTransformationOperator2d,CT : OCP.gp.gp_Trsf2d,theLocalFactors : OCP.StepData.StepData_Factors) -> bool:
"""
None
"""
@staticmethod
def MakeTransformation3d_s(SCTO : OCP.StepGeom.StepGeom_CartesianTransformationOperator3d,CT : OCP.gp.gp_Trsf,theLocalFactors : OCP.StepData.StepData_Factors) -> bool:
"""
None
"""
@staticmethod
def MakeTrimmedCurve2d_s(SC : OCP.StepGeom.StepGeom_TrimmedCurve,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom2d.Geom2d_BSplineCurve:
"""
None
"""
@staticmethod
def MakeTrimmedCurve_s(SC : OCP.StepGeom.StepGeom_TrimmedCurve,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_TrimmedCurve:
"""
None
"""
@staticmethod
def MakeVectorWithMagnitude2d_s(SV : OCP.StepGeom.StepGeom_Vector) -> OCP.Geom2d.Geom2d_VectorWithMagnitude:
"""
None
"""
@staticmethod
def MakeVectorWithMagnitude_s(SV : OCP.StepGeom.StepGeom_Vector,theLocalFactors : OCP.StepData.StepData_Factors) -> OCP.Geom.Geom_VectorWithMagnitude:
"""
None
"""
@staticmethod
def MakeYprRotation_s(SR : StepKinematics_SpatialRotation,theCntxt : OCP.StepRepr.StepRepr_GlobalUnitAssignedContext) -> OCP.TColStd.TColStd_HArray1OfReal:
"""
None
"""
def __init__(self) -> None: ...
pass
|