2_step.mql 72 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154
  1. typedef if not exists ParameterValue = double;
  2. typedef if not exists PlaneAngleMeasure = double;
  3. typedef if not exists YearNumber = int;
  4. typedef if not exists WeekInYearNumber = int;
  5. typedef if not exists MinuteInHour = int;
  6. typedef if not exists Identifier = text;
  7. typedef if not exists ShapeTolerance = double;
  8. typedef if not exists RotAccelerationMeasure = double;
  9. typedef if not exists VelocityMeasure = double;
  10. typedef if not exists DimensionCount = int;
  11. typedef if not exists PositiveLengthMeasure = double;
  12. typedef if not exists HourInDay = int;
  13. typedef if not exists RatioMeasure = double;
  14. typedef if not exists AccelerationMeasure = double;
  15. typedef if not exists DayInMonthNumber = int;
  16. typedef if not exists ElectricCurrentMeasure = double;
  17. typedef if not exists JerkMeasure = double;
  18. typedef if not exists VolumeMeasure = double;
  19. typedef if not exists DayInWeekNumber = int;
  20. typedef if not exists TorqueMeasure = double;
  21. typedef if not exists TimeMeasure = double;
  22. typedef if not exists PowerMeasure = double;
  23. typedef if not exists DayInYearNumber = int;
  24. typedef if not exists MassMeasure = double;
  25. typedef if not exists PositiveRatioMeasure = double;
  26. typedef if not exists MonthInYearNumber = int;
  27. typedef if not exists SecondInMinute = double;
  28. typedef if not exists Label = text;
  29. typedef if not exists RotSpeedMeasure = double;
  30. typedef if not exists SpeedMeasure = double;
  31. typedef if not exists PressureMeasure = double;
  32. typedef if not exists LengthMeasure = double;
  33. typedef if not exists RotJerkMeasure = double;
  34. typedef if not exists CountMeasure = int;
  35. --- define mql enums.
  36. type if not exists ProbeType = enum {
  37. "0":["nulling"],
  38. "1":["proportional"],
  39. "2":["switching"]
  40. };
  41. type if not exists ToolReferencePoint = enum {
  42. "0":["tcp"],
  43. "1":["ccp"]
  44. };
  45. type if not exists MachineClass = enum {
  46. "0":["drilling_machine"],
  47. "1":["gundrill_machine"],
  48. "2":["machining_centre"],
  49. "3":["milling_machine"],
  50. "4":["multi_tasking_machine"],
  51. "5":["turning_machine"]
  52. };
  53. type if not exists KnotType = enum {
  54. "0":["uniform_knots"],
  55. "1":["quasi_uniform_knots"],
  56. "2":["piecewise_bezier_knots"],
  57. "3":["unspecified"]
  58. };
  59. type if not exists UnitsType = enum {
  60. "0":["inch"],
  61. "1":["inch_and_metric"],
  62. "2":["metric"]
  63. };
  64. type if not exists TransitionCode = enum {
  65. "0":["discontinuous"],
  66. "1":["continuous"],
  67. "2":["cont_same_gradient"],
  68. "3":["cont_same_gradient_same_curvature"]
  69. };
  70. type if not exists MachiningCapabilityProfile = enum {
  71. "0":["boring_capability"],
  72. "1":["drilling_capability"],
  73. "2":["gundrill_capability"],
  74. "3":["milling_capability"],
  75. "4":["turning_capability"]
  76. };
  77. type if not exists ContactType = enum {
  78. "0":["side"],
  79. "1":["front"]
  80. };
  81. type if not exists RotDirection = enum {
  82. "0":["cw"],
  83. "1":["ccw"]
  84. };
  85. type if not exists SpeedName = enum {
  86. "0":["rapid"]
  87. };
  88. type if not exists PalletStorageConfiguration = enum {
  89. "0":["carousel"],
  90. "1":["carousel_2_place"],
  91. "2":["chain"],
  92. "3":["fixed_2_place"],
  93. "4":["multi_storey"],
  94. "5":["straight_line"]
  95. };
  96. type if not exists BSplineCurveForm = enum {
  97. "0":["polyline_form"],
  98. "1":["circular_arc"],
  99. "2":["elliptic_arc"],
  100. "3":["parabolic_arc"],
  101. "4":["hyperbolic_arc"],
  102. "5":["unspecified"]
  103. };
  104. type if not exists FittingType = enum {
  105. "0":["shaft"],
  106. "1":["hole"]
  107. };
  108. type if not exists LeftOrRight = enum {
  109. "0":["left"],
  110. "1":["right"]
  111. };
  112. type if not exists FixtureStyle = enum {
  113. "0":["chuck_fixture"],
  114. "1":["hole"],
  115. "2":["t_slot_fixture"],
  116. "3":["vacuum"]
  117. };
  118. type if not exists TrimmingPreference = enum {
  119. "0":["cartesian"],
  120. "1":["parameter"],
  121. "2":["unspecified"]
  122. };
  123. type if not exists StrokeConnectionStrategy = enum {
  124. "0":["straghtline"],
  125. "1":["lift_shift_plunge"],
  126. "2":["degouge"],
  127. "3":["loop_back"]
  128. };
  129. type if not exists BSplineSurfaceForm = enum {
  130. "0":["plane_surf"],
  131. "1":["cylindrical_surf"],
  132. "2":["conical_surf"],
  133. "3":["spherical_surf"],
  134. "4":["toroidal_surf"],
  135. "5":["surf_of_revolution"],
  136. "6":["ruled_surf"],
  137. "7":["generalised_cone"],
  138. "8":["quadric_surf"],
  139. "9":["surf_of_linear_extrusion"],
  140. "10":["unspecified"]
  141. };
  142. type if not exists ToolStorageConfiguration = enum {
  143. "0":["bi_directional"],
  144. "1":["box_matrix"],
  145. "2":["uni_directional"]
  146. };
  147. type if not exists UnlimitedRange = enum {
  148. "0":["unlimited"]
  149. };
  150. type if not exists MeansOfCoolantDelivery = enum {
  151. "0":["external"],
  152. "1":["thru_spindle"],
  153. "2":["thru_turret"]
  154. };
  155. type if not exists BottomOrSide = enum {
  156. "0":["bottom"],
  157. "1":["side"],
  158. "2":["bottom_and_side"]
  159. };
  160. type if not exists AheadOrBehind = enum {
  161. "0":["ahead"],
  162. "1":["exact"],
  163. "2":["behind"]
  164. };
  165. type if not exists Hand = enum {
  166. "0":["left"],
  167. "1":["right"],
  168. "2":["neutral"]
  169. };
  170. type if not exists PathmodeType = enum {
  171. "0":["forward"],
  172. "1":["zigzag"]
  173. };
  174. type if not exists SensorDimensionality = enum {
  175. "0":["one_d"],
  176. "1":["two_d"],
  177. "2":["three_d"]
  178. };
  179. type if not exists CutmodeType = enum {
  180. "0":["climb"],
  181. "1":["conventional"]
  182. };
  183. type if not exists ToolpathType = enum {
  184. "0":["approach"],
  185. "1":["lift"],
  186. "2":["connect"],
  187. "3":["non_contact"],
  188. "4":["contact"],
  189. "5":["trajectory_path"]
  190. };
  191. type if not exists ToolCompensation = enum {
  192. "0":["tool_length"],
  193. "1":["tool_radius"]
  194. };
  195. type if not exists Interpolation = enum {
  196. "0":["circular"],
  197. "1":["helical"],
  198. "2":["linear"],
  199. "3":["nurbs"],
  200. "4":["other"]
  201. };
  202. type if not exists CoolantType = enum {
  203. "0":["air"],
  204. "1":["flood"],
  205. "2":["micro"],
  206. "3":["mist"],
  207. "4":["none"]
  208. };
  209. type if not exists Logical = enum {
  210. "0":["False"],
  211. "1":["True"]
  212. };
  213. CREATE CLASS IF NOT EXISTS HoleBottomCondition : Step1 (
  214. )with version=true;
  215. CREATE CLASS IF NOT EXISTS BlindBottomCondition : HoleBottomCondition (
  216. )with version=true;
  217. CREATE CLASS IF NOT EXISTS FlatHoleBottom : BlindBottomCondition (
  218. )with version=true;
  219. CREATE CLASS IF NOT EXISTS BooleanExpression : Step1 (
  220. )with version=true;
  221. CREATE CLASS IF NOT EXISTS MultipleArityBooleanExpression : BooleanExpression (
  222. operands BooleanExpression[?]
  223. )with version=true;
  224. CREATE CLASS IF NOT EXISTS OrExpression : MultipleArityBooleanExpression (
  225. )with version=true;
  226. CREATE CLASS IF NOT EXISTS ToolBody : Step1 (
  227. )with version=true;
  228. CREATE CLASS IF NOT EXISTS DrillingTypeStrategy : Step1 (
  229. reduced_cut_at_start double,
  230. reduced_feed_at_start double,
  231. depth_of_start double,
  232. reduced_cut_at_end double,
  233. reduced_feed_at_end double,
  234. depth_of_end double
  235. )with version=true;
  236. CREATE CLASS IF NOT EXISTS ToolAssembly : Step1 (
  237. tool_number text,
  238. tool_type text,
  239. tool_size text
  240. )with version=true;
  241. CREATE CLASS IF NOT EXISTS NcConstant : Step1 (
  242. its_name text,
  243. its_value double
  244. )with version=true;
  245. CREATE CLASS IF NOT EXISTS RepresentationItem : Step1 (
  246. name varchar
  247. )with version=true;
  248. CREATE CLASS IF NOT EXISTS GeometricRepresentationItem : RepresentationItem (
  249. )with version=true;
  250. CREATE CLASS IF NOT EXISTS SolidModel : GeometricRepresentationItem (
  251. )with version=true;
  252. CREATE CLASS IF NOT EXISTS ElementCapability : Step1 (
  253. description text
  254. )with version=true;
  255. CREATE CLASS IF NOT EXISTS Executable : Step1 (
  256. its_id text
  257. )with version=true;
  258. CREATE CLASS IF NOT EXISTS ProgramStructure : Executable (
  259. )with version=true;
  260. CREATE CLASS IF NOT EXISTS NonSequential : ProgramStructure (
  261. its_elements Executable[?]
  262. )with version=true;
  263. CREATE CLASS IF NOT EXISTS TopologicalRepresentationItem : RepresentationItem (
  264. )with version=true;
  265. CREATE CLASS IF NOT EXISTS Vertex : TopologicalRepresentationItem (
  266. )with version=true;
  267. CREATE CLASS IF NOT EXISTS NcVariable : Step1 (
  268. its_name text,
  269. initial_value double
  270. )with version=true;
  271. CREATE CLASS IF NOT EXISTS Surface : GeometricRepresentationItem (
  272. )with version=true;
  273. CREATE CLASS IF NOT EXISTS OrientedSurface : Surface (
  274. orientation boolean
  275. )with version=true;
  276. CREATE CLASS IF NOT EXISTS ToolHandlingUnit : ElementCapability (
  277. )with version=true;
  278. CREATE CLASS IF NOT EXISTS ToolMagazine : ToolHandlingUnit (
  279. number_of_tools double,
  280. random_access boolean,
  281. diameter_full double,
  282. diameter_empty double,
  283. tool_length double,
  284. tool_weight double,
  285. storage_configuration ToolStorageConfiguration,
  286. tool_magazine_contents ToolAssembly[?]
  287. )with version=true;
  288. CREATE CLASS IF NOT EXISTS ToolDirection : Step1 (
  289. )with version=true;
  290. CREATE CLASS IF NOT EXISTS ToolDirectionForMilling : ToolDirection (
  291. )with version=true;
  292. CREATE CLASS IF NOT EXISTS Curve : GeometricRepresentationItem (
  293. )with version=true;
  294. CREATE CLASS IF NOT EXISTS SlotEndType : Step1 (
  295. )with version=true;
  296. CREATE CLASS IF NOT EXISTS RadiusedSlotEndType : SlotEndType (
  297. )with version=true;
  298. CREATE CLASS IF NOT EXISTS BoundedSurface : Surface (
  299. )with version=true;
  300. CREATE CLASS IF NOT EXISTS PocketBottomCondition : Step1 (
  301. )with version=true;
  302. CREATE CLASS IF NOT EXISTS Hydraulics : Step1 (
  303. type_of_hydraulic_oil text,
  304. pump_outlet_pressure double,
  305. capacity_of_hydraulics_tank double
  306. )with version=true;
  307. CREATE CLASS IF NOT EXISTS BoundedCurve : Curve (
  308. )with version=true;
  309. CREATE CLASS IF NOT EXISTS CuttingEdgeTechnologicalData : Step1 (
  310. cutting_angle double,
  311. free_angle double,
  312. aux_angle double
  313. )with version=true;
  314. CREATE CLASS IF NOT EXISTS Direction : GeometricRepresentationItem (
  315. direction_ratios Double[?]
  316. )with version=true;
  317. CREATE CLASS IF NOT EXISTS NcFunction : Executable (
  318. )with version=true;
  319. CREATE CLASS IF NOT EXISTS IndexPallet : NcFunction (
  320. its_index int
  321. )with version=true;
  322. CREATE CLASS IF NOT EXISTS KinematicLink : Step1 (
  323. )with version=true;
  324. CREATE CLASS IF NOT EXISTS TwoAxes : ToolDirection (
  325. )with version=true;
  326. CREATE CLASS IF NOT EXISTS OffsetVector : Step1 (
  327. translate NcVariable[?],
  328. rotate NcVariable[?]
  329. )with version=true;
  330. CREATE CLASS IF NOT EXISTS Person : Step1 (
  331. id varchar,
  332. last_name text,
  333. first_name text,
  334. middle_names Text[?],
  335. prefix_titles Text[?],
  336. suffix_titles Text[?]
  337. )with version=true;
  338. CREATE CLASS IF NOT EXISTS Edge : TopologicalRepresentationItem (
  339. edge_start Vertex,
  340. edge_end Vertex
  341. )with version=true;
  342. CREATE CLASS IF NOT EXISTS OrientedEdge : Edge (
  343. edge_element Edge,
  344. orientation boolean
  345. )with version=true;
  346. CREATE CLASS IF NOT EXISTS Point : GeometricRepresentationItem (
  347. )with version=true;
  348. CREATE CLASS IF NOT EXISTS PointOnSurface : Point (
  349. basis_surface Surface,
  350. point_parameter_u double,
  351. point_parameter_v double
  352. )with version=true;
  353. CREATE CLASS IF NOT EXISTS PropertyParameter : Step1 (
  354. parameter_name text
  355. )with version=true;
  356. CREATE CLASS IF NOT EXISTS TouchProbe : Step1 (
  357. its_id text
  358. )with version=true;
  359. CREATE CLASS IF NOT EXISTS MachineFunctions : Step1 (
  360. )with version=true;
  361. CREATE CLASS IF NOT EXISTS ThreeAxes : ToolDirection (
  362. )with version=true;
  363. CREATE CLASS IF NOT EXISTS Electrical : Step1 (
  364. electric_phase int,
  365. electric_power double,
  366. electrical_current double,
  367. electrical_frequency text,
  368. electrical_grounding text,
  369. electrical_voltage double
  370. )with version=true;
  371. CREATE CLASS IF NOT EXISTS RepresentationContext : Step1 (
  372. context_identifier text,
  373. context_type text
  374. )with version=true;
  375. CREATE CLASS IF NOT EXISTS GeometricRepresentationContext : RepresentationContext (
  376. coordinate_space_dimension int
  377. )with version=true;
  378. CREATE CLASS IF NOT EXISTS FiveAxesConstTiltYaw : ToolDirectionForMilling (
  379. tilt_angle double,
  380. yaw_angle double
  381. )with version=true;
  382. CREATE CLASS IF NOT EXISTS ApplicationContext : Step1 (
  383. application text
  384. )with version=true;
  385. CREATE CLASS IF NOT EXISTS RectangularOmit : Step1 (
  386. row_index int,
  387. column_index int
  388. )with version=true;
  389. CREATE CLASS IF NOT EXISTS CartesianPoint : Point (
  390. coordinates Double[?]
  391. )with version=true;
  392. CREATE CLASS IF NOT EXISTS RationalPoint : CartesianPoint (
  393. weight double
  394. )with version=true;
  395. CREATE CLASS IF NOT EXISTS NumericParameter : PropertyParameter (
  396. its_parameter_value double,
  397. its_parameter_unit text
  398. )with version=true;
  399. CREATE CLASS IF NOT EXISTS TLink : OrientedEdge (
  400. )with version=true;
  401. CREATE CLASS IF NOT EXISTS WhileStatement : ProgramStructure (
  402. condition BooleanExpression,
  403. body Executable
  404. )with version=true;
  405. CREATE CLASS IF NOT EXISTS Path : TopologicalRepresentationItem (
  406. edge_list OrientedEdge[?]
  407. )with version=true;
  408. CREATE CLASS IF NOT EXISTS MachineToolAxis : ElementCapability (
  409. axis_name text
  410. )with version=true;
  411. CREATE CLASS IF NOT EXISTS RotaryAxis : MachineToolAxis (
  412. displacement_angle_error double,
  413. repeatability_angle_error double,
  414. rapid_traverse_rotation_feed_rate double,
  415. minimum_cutting_rotation_feed_rate double,
  416. maximum_cutting_rotation_feed_rate double,
  417. maximum_rotation_acceleration double,
  418. maximum_rotation_deceleration double,
  419. maximum_rotation_jerk double
  420. )with version=true;
  421. CREATE CLASS IF NOT EXISTS ContinuousRotary : RotaryAxis (
  422. )with version=true;
  423. CREATE CLASS IF NOT EXISTS CoordinatedUniversalTimeOffset : Step1 (
  424. hour_offset int,
  425. minute_offset int,
  426. sense AheadOrBehind
  427. )with version=true;
  428. CREATE CLASS IF NOT EXISTS ThroughPocketBottomCondition : PocketBottomCondition (
  429. )with version=true;
  430. CREATE CLASS IF NOT EXISTS LoopSlotEndType : SlotEndType (
  431. )with version=true;
  432. CREATE CLASS IF NOT EXISTS SweptSurface : Surface (
  433. swept_curve Curve
  434. )with version=true;
  435. CREATE CLASS IF NOT EXISTS Representation : Step1 (
  436. name varchar,
  437. items RepresentationItem[?],
  438. context_of_items RepresentationContext
  439. )with version=true;
  440. CREATE CLASS IF NOT EXISTS KinematicLinkRepresentation : Representation (
  441. representation_context_of_items GeometricRepresentationContext
  442. )with version=true;
  443. CREATE CLASS IF NOT EXISTS ToolChanger : ToolHandlingUnit (
  444. spindle_name text,
  445. cut_to_cut_min_tool_change_time double,
  446. cut_to_cut_max_tool_change_time double
  447. )with version=true;
  448. CREATE CLASS IF NOT EXISTS OpenSlotEndType : SlotEndType (
  449. )with version=true;
  450. CREATE CLASS IF NOT EXISTS OptionalStop : NcFunction (
  451. )with version=true;
  452. CREATE CLASS IF NOT EXISTS Loop : TopologicalRepresentationItem (
  453. )with version=true;
  454. CREATE CLASS IF NOT EXISTS EdgeLoop : Loop (
  455. edge_list OrientedEdge[?]
  456. )with version=true;
  457. CREATE CLASS IF NOT EXISTS Date : Step1 (
  458. year_component int
  459. )with version=true;
  460. CREATE CLASS IF NOT EXISTS CalendarDate : Date (
  461. day_component int,
  462. month_component int
  463. )with version=true;
  464. CREATE CLASS IF NOT EXISTS Turret : ToolHandlingUnit (
  465. spindle_name_xxx Text[?],
  466. number_of_fixed_tools double,
  467. number_of_rotating_tools double,
  468. cut_to_cut_min_turret_index_time double,
  469. cut_to_cut_max_turret_index_time double,
  470. turret_contents ToolAssembly[?]
  471. )with version=true;
  472. CREATE CLASS IF NOT EXISTS Vector : GeometricRepresentationItem (
  473. orientation_xxx Direction,
  474. magnitude double
  475. )with version=true;
  476. CREATE CLASS IF NOT EXISTS ProfileFloor : Step1 (
  477. floor_radius NumericParameter,
  478. start_or_end boolean
  479. )with version=true;
  480. CREATE CLASS IF NOT EXISTS Two5dMillingStrategy : Step1 (
  481. overlap double,
  482. allow_multiple_passes boolean
  483. )with version=true;
  484. CREATE CLASS IF NOT EXISTS BidirectionalContour : Two5dMillingStrategy (
  485. feed_direction Direction,
  486. stepover_direction LeftOrRight,
  487. rotation_direction RotDirection,
  488. spiral_cutmode CutmodeType
  489. )with version=true;
  490. CREATE CLASS IF NOT EXISTS Tailstock : ElementCapability (
  491. spindle_name text,
  492. taper text,
  493. maximum_workpiece_weight_of_quill double
  494. )with version=true;
  495. CREATE CLASS IF NOT EXISTS TPointset : GeometricRepresentationItem (
  496. control_points RationalPoint[?]
  497. )with version=true;
  498. CREATE CLASS IF NOT EXISTS ProgramStop : NcFunction (
  499. )with version=true;
  500. CREATE CLASS IF NOT EXISTS ItemDefinedTransformation : Step1 (
  501. name varchar,
  502. description text,
  503. transform_item_1 RepresentationItem,
  504. transform_item_2 RepresentationItem
  505. )with version=true;
  506. CREATE CLASS IF NOT EXISTS CharacterizedObject : Step1 (
  507. name varchar,
  508. description text
  509. )with version=true;
  510. CREATE CLASS IF NOT EXISTS RepresentationMap : Step1 (
  511. mapping_origin RepresentationItem,
  512. mapped_representation Representation
  513. )with version=true;
  514. CREATE CLASS IF NOT EXISTS MachiningSize : Step1 (
  515. description text,
  516. x double,
  517. y double,
  518. z double
  519. )with version=true;
  520. CREATE CLASS IF NOT EXISTS CircularOmit : Step1 (
  521. index int
  522. )with version=true;
  523. CREATE CLASS IF NOT EXISTS DisplayMessage : NcFunction (
  524. its_text text
  525. )with version=true;
  526. CREATE CLASS IF NOT EXISTS LinearAxis : MachineToolAxis (
  527. minimum_range_of_motion double,
  528. maximum_range_of_motion double,
  529. displacement_error double,
  530. repeatability_error double,
  531. rapid_traverse_feed_rate double,
  532. minimum_cutting_feed_rate double,
  533. maximum_cutting_feed_rate double,
  534. maximum_acceleration double,
  535. maximum_deceleration double,
  536. maximum_jerk double
  537. )with version=true;
  538. CREATE CLASS IF NOT EXISTS AngleTaper : Step1 (
  539. angle double
  540. )with version=true;
  541. CREATE CLASS IF NOT EXISTS ThroughBottomCondition : HoleBottomCondition (
  542. )with version=true;
  543. CREATE CLASS IF NOT EXISTS UnaryBooleanExpression : BooleanExpression (
  544. operand BooleanExpression
  545. )with version=true;
  546. CREATE CLASS IF NOT EXISTS ToolDimension : Step1 (
  547. diameter double,
  548. tool_top_angle double,
  549. tool_circumference_angle double,
  550. cutting_edge_length double,
  551. edge_radius double,
  552. edge_center_vertical double,
  553. edge_center_horizontal double
  554. )with version=true;
  555. CREATE CLASS IF NOT EXISTS MeasuringCapability : Step1 (
  556. measuring_accuracy text,
  557. description text
  558. )with version=true;
  559. CREATE CLASS IF NOT EXISTS PlusMinusValue : Step1 (
  560. upper_limit double,
  561. lower_limit double,
  562. significant_digits int
  563. )with version=true;
  564. CREATE CLASS IF NOT EXISTS CurveWithNormalVector : Step1 (
  565. basiccurve BoundedCurve,
  566. surface_normal BoundedCurve
  567. )with version=true;
  568. CREATE CLASS IF NOT EXISTS OrdinalDate : Date (
  569. day_component int
  570. )with version=true;
  571. CREATE CLASS IF NOT EXISTS Locator : Step1 (
  572. business_unit text,
  573. plant_location text,
  574. building text,
  575. cell text
  576. )with version=true;
  577. CREATE CLASS IF NOT EXISTS AndExpression : MultipleArityBooleanExpression (
  578. )with version=true;
  579. CREATE CLASS IF NOT EXISTS ContourParallel : Two5dMillingStrategy (
  580. rotation_direction RotDirection,
  581. cutmode CutmodeType
  582. )with version=true;
  583. CREATE CLASS IF NOT EXISTS WeekOfYearAndDayDate : Date (
  584. week_component int,
  585. day_component int
  586. )with version=true;
  587. CREATE CLASS IF NOT EXISTS BinaryBooleanExpression : BooleanExpression (
  588. operand1 BooleanExpression,
  589. operand2 BooleanExpression
  590. )with version=true;
  591. CREATE CLASS IF NOT EXISTS AdaptiveControl : Step1 (
  592. )with version=true;
  593. CREATE CLASS IF NOT EXISTS CenterMilling : Two5dMillingStrategy (
  594. )with version=true;
  595. CREATE CLASS IF NOT EXISTS ShapeRepresentation : Representation (
  596. )with version=true;
  597. CREATE CLASS IF NOT EXISTS AdvancedBrepShapeRepresentation : ShapeRepresentation (
  598. )with version=true;
  599. CREATE CLASS IF NOT EXISTS EdgeCurve : Edge (
  600. edge_geometry Curve,
  601. same_sense boolean
  602. )with version=true;
  603. CREATE CLASS IF NOT EXISTS LimitedSwing : RotaryAxis (
  604. minimum_angle_of_motion double,
  605. maximum_angle_of_motion double,
  606. axis_travel_limit boolean
  607. )with version=true;
  608. CREATE CLASS IF NOT EXISTS Line : Curve (
  609. pnt CartesianPoint,
  610. dir_xxx Vector
  611. )with version=true;
  612. CREATE CLASS IF NOT EXISTS SpindleRange : Step1 (
  613. minimum_drive_speed double,
  614. maximum_drive_speed double,
  615. minimum_drive_torque double,
  616. maximum_drive_torque double
  617. )with version=true;
  618. CREATE CLASS IF NOT EXISTS SetupInstruction : Step1 (
  619. description text,
  620. external_document text
  621. )with version=true;
  622. CREATE CLASS IF NOT EXISTS RectangularOffset : Step1 (
  623. offset_direction Direction,
  624. offset_distance double,
  625. row_index int,
  626. column_index int
  627. )with version=true;
  628. CREATE CLASS IF NOT EXISTS ExchangePallet : NcFunction (
  629. )with version=true;
  630. CREATE CLASS IF NOT EXISTS MachineToolElement : Step1 (
  631. name varchar,
  632. description text,
  633. weight double,
  634. capabilities ElementCapability[?]
  635. )with version=true;
  636. CREATE CLASS IF NOT EXISTS TSlot : Step1 (
  637. number_of_t_slots double,
  638. t_slots_size double,
  639. distance_between_t_slot_centres double
  640. )with version=true;
  641. CREATE CLASS IF NOT EXISTS NcController : Step1 (
  642. controller_model text,
  643. controller_manufacturer text,
  644. units UnitsType,
  645. maximum_number_of_simultaneous_control_axes double,
  646. maximum_total_number_of_control_feed_axes double,
  647. maximum_total_number_of_control_spindles double,
  648. minimum_linear_increment double,
  649. minimum_angle_increment double,
  650. maximum_number_of_multi_channel_control double,
  651. cycle_functions Text[?],
  652. interpolation_functions Interpolation[?],
  653. look_ahead int,
  654. adaptive_control text,
  655. miscellaneous_controller_functions text,
  656. program_memory_size double,
  657. cutting_feed_rate_override Double[?],
  658. rapid_traverse_override Double[?],
  659. tool_compensation_functions ToolCompensation[?],
  660. time_sampling double,
  661. clock_frequency double
  662. )with version=true;
  663. CREATE CLASS IF NOT EXISTS Unidirectional : Two5dMillingStrategy (
  664. feed_direction Direction,
  665. cutmode CutmodeType
  666. )with version=true;
  667. CREATE CLASS IF NOT EXISTS RepresentationRelationship : Step1 (
  668. name varchar,
  669. description text,
  670. rep_1 Representation,
  671. rep_2 Representation
  672. )with version=true;
  673. CREATE CLASS IF NOT EXISTS Material : Step1 (
  674. standard_identifier text,
  675. material_identifier text,
  676. material_property PropertyParameter[?]
  677. )with version=true;
  678. CREATE CLASS IF NOT EXISTS AxisCapability : Step1 (
  679. number_of_axes double,
  680. number_of_simultanious_axes double
  681. )with version=true;
  682. CREATE CLASS IF NOT EXISTS XorExpression : BinaryBooleanExpression (
  683. )with version=true;
  684. CREATE CLASS IF NOT EXISTS KinematicJoint : Step1 (
  685. first_link KinematicLink,
  686. second_link KinematicLink
  687. )with version=true;
  688. CREATE CLASS IF NOT EXISTS MachineTool : Step1 (
  689. description text
  690. )with version=true;
  691. CREATE CLASS IF NOT EXISTS SpindleCapability : Step1 (
  692. spindle_name text,
  693. spindle_power double,
  694. maximum_drive_speed double
  695. )with version=true;
  696. CREATE CLASS IF NOT EXISTS MachiningTool : Step1 (
  697. its_id text
  698. )with version=true;
  699. CREATE CLASS IF NOT EXISTS CompositeCurveSegment : Step1 (
  700. transition TransitionCode,
  701. same_sense boolean,
  702. parent_curve Curve
  703. )with version=true;
  704. CREATE CLASS IF NOT EXISTS BarFeeder : ElementCapability (
  705. minimum_stock_diameter double,
  706. maximum_stock_diameter double,
  707. maximum_stock_length double
  708. )with version=true;
  709. CREATE CLASS IF NOT EXISTS Coolant : ElementCapability (
  710. coolant_type CoolantType,
  711. means_of_delivery MeansOfCoolantDelivery,
  712. capacity_of_coolant_tank double,
  713. coolant_weight double
  714. )with version=true;
  715. CREATE CLASS IF NOT EXISTS DefinitionalRepresentation : Representation (
  716. )with version=true;
  717. CREATE CLASS IF NOT EXISTS DescriptiveParameter : PropertyParameter (
  718. descriptive_string text
  719. )with version=true;
  720. CREATE CLASS IF NOT EXISTS BidirectionalMilling : Two5dMillingStrategy (
  721. feed_direction Direction,
  722. stepover_direction LeftOrRight,
  723. its_stroke_connection_strategy StrokeConnectionStrategy
  724. )with version=true;
  725. CREATE CLASS IF NOT EXISTS PlanarPocketBottomCondition : PocketBottomCondition (
  726. )with version=true;
  727. CREATE CLASS IF NOT EXISTS NotExpression : UnaryBooleanExpression (
  728. )with version=true;
  729. CREATE CLASS IF NOT EXISTS Parallel : ProgramStructure (
  730. branches Executable[?]
  731. )with version=true;
  732. CREATE CLASS IF NOT EXISTS Indexing : RotaryAxis (
  733. index_increment double
  734. )with version=true;
  735. CREATE CLASS IF NOT EXISTS IfStatement : ProgramStructure (
  736. condition BooleanExpression,
  737. true_branch Executable,
  738. false_branch Executable
  739. )with version=true;
  740. CREATE CLASS IF NOT EXISTS Selective : ProgramStructure (
  741. its_elements Executable[?]
  742. )with version=true;
  743. CREATE CLASS IF NOT EXISTS Bidirectional : Two5dMillingStrategy (
  744. feed_direction Direction,
  745. stepover_direction LeftOrRight,
  746. its_stroke_connection_strategy StrokeConnectionStrategy
  747. )with version=true;
  748. CREATE CLASS IF NOT EXISTS MillingToolDimension : Step1 (
  749. diameter double,
  750. tool_top_angle double,
  751. tool_circumference_angle double,
  752. cutting_edge_length double,
  753. edge_radius double,
  754. edge_center_vertical double,
  755. edge_center_horizontal double
  756. )with version=true;
  757. CREATE CLASS IF NOT EXISTS SetMark : NcFunction (
  758. )with version=true;
  759. CREATE CLASS IF NOT EXISTS OrientedPath : Path (
  760. path_element Path,
  761. orientation boolean
  762. )with version=true;
  763. CREATE CLASS IF NOT EXISTS Technology : Step1 (
  764. feedrate double,
  765. feedrate_reference ToolReferencePoint
  766. )with version=true;
  767. CREATE CLASS IF NOT EXISTS VertexLoop : Loop (
  768. loop_vertex Vertex
  769. )with version=true;
  770. CREATE CLASS IF NOT EXISTS ApprovalStatus : Step1 (
  771. name varchar
  772. )with version=true;
  773. CREATE CLASS IF NOT EXISTS FiveAxesVarTiltYaw : ToolDirectionForMilling (
  774. )with version=true;
  775. CREATE CLASS IF NOT EXISTS Chuck : ElementCapability (
  776. minimum_part_diameter double,
  777. maximum_part_diameter double,
  778. number_of_jaws double
  779. )with version=true;
  780. CREATE CLASS IF NOT EXISTS LimitsAndFits : Step1 (
  781. deviation double,
  782. --lzg
  783. grade double,
  784. its_fitting_type FittingType
  785. )with version=true;
  786. CREATE CLASS IF NOT EXISTS ContourSpiral : Two5dMillingStrategy (
  787. rotation_direction RotDirection,
  788. cutmode CutmodeType
  789. )with version=true;
  790. CREATE CLASS IF NOT EXISTS ExplicitStrategy : Two5dMillingStrategy (
  791. )with version=true;
  792. CREATE CLASS IF NOT EXISTS MillingTechnology : Technology (
  793. cutspeed double,
  794. spindle double,
  795. feedrate_per_tooth double,
  796. synchronize_spindle_with_feed boolean,
  797. inhibit_feedrate_override boolean,
  798. inhibit_spindle_override boolean,
  799. its_adaptive_control AdaptiveControl
  800. )with version=true;
  801. CREATE CLASS IF NOT EXISTS SuParameters : GeometricRepresentationItem (
  802. a double,
  803. alpha double,
  804. b double,
  805. beta double,
  806. c double,
  807. gamma double
  808. )with version=true;
  809. CREATE CLASS IF NOT EXISTS ThroughProfileFloor : Step1 (
  810. )with version=true;
  811. CREATE CLASS IF NOT EXISTS KinematicLinkRepresentationRelation : Step1 (
  812. topological_aspects KinematicLink,
  813. geometric_aspects KinematicLinkRepresentation
  814. )with version=true;
  815. CREATE CLASS IF NOT EXISTS Polyline : BoundedCurve (
  816. points CartesianPoint[?]
  817. )with version=true;
  818. CREATE CLASS IF NOT EXISTS KinematicLinkRepresentationAssociation : RepresentationRelationship (
  819. representation_relationship_rep_1 KinematicLinkRepresentation
  820. )with version=true;
  821. CREATE CLASS IF NOT EXISTS MachineSize : Step1 (
  822. machine_length double,
  823. machine_width double,
  824. machine_height double
  825. )with version=true;
  826. CREATE CLASS IF NOT EXISTS Collet : ElementCapability (
  827. collet_type text,
  828. minimum_part_diameter double,
  829. maximum_part_diameter double
  830. )with version=true;
  831. CREATE CLASS IF NOT EXISTS Address : Step1 (
  832. internal_location text,
  833. street_number text,
  834. street text,
  835. postal_box text,
  836. town text,
  837. --lzg
  838. region text,
  839. postal_code text,
  840. country text,
  841. facsimile_number text,
  842. telephone_number text,
  843. electronic_mail_address text,
  844. telex_number text
  845. )with version=true;
  846. CREATE CLASS IF NOT EXISTS ProcessModel : Step1 (
  847. ini_data_file text,
  848. its_type text
  849. )with version=true;
  850. CREATE CLASS IF NOT EXISTS SpecificationUsageConstraint : Step1 (
  851. element text,
  852. class_id text
  853. )with version=true;
  854. CREATE CLASS IF NOT EXISTS Tolerances : Step1 (
  855. chordal_tolerance double,
  856. scallop_height double
  857. )with version=true;
  858. CREATE CLASS IF NOT EXISTS CuttingComponent : Step1 (
  859. tool_offset_length double,
  860. its_material Material,
  861. technological_data CuttingEdgeTechnologicalData,
  862. expected_tool_life double,
  863. its_technology Technology
  864. )with version=true;
  865. CREATE CLASS IF NOT EXISTS IndexTable : NcFunction (
  866. its_index int
  867. )with version=true;
  868. CREATE CLASS IF NOT EXISTS LocalTime : Step1 (
  869. hour_component int,
  870. minute_component int,
  871. second_component double,
  872. zone CoordinatedUniversalTimeOffset
  873. )with version=true;
  874. CREATE CLASS IF NOT EXISTS CircularOffset : Step1 (
  875. angular_offset double,
  876. index int
  877. )with version=true;
  878. CREATE CLASS IF NOT EXISTS ContourBidirectional : Two5dMillingStrategy (
  879. feed_direction Direction,
  880. stepover_direction LeftOrRight,
  881. rotation_direction RotDirection,
  882. spiral_cutmode CutmodeType
  883. )with version=true;
  884. CREATE CLASS IF NOT EXISTS PolyLoop : Loop (
  885. polygon CartesianPoint[?]
  886. )with version=true;
  887. CREATE CLASS IF NOT EXISTS MappedItem : RepresentationItem (
  888. mapping_source RepresentationMap,
  889. mapping_target RepresentationItem
  890. )with version=true;
  891. CREATE CLASS IF NOT EXISTS Channel : Step1 (
  892. its_id text
  893. )with version=true;
  894. CREATE CLASS IF NOT EXISTS ProcessModelList : Step1 (
  895. its_list ProcessModel[?]
  896. )with version=true;
  897. CREATE CLASS IF NOT EXISTS EmissionProperty : Step1 (
  898. emission_type text,
  899. weight double
  900. )with version=true;
  901. CREATE CLASS IF NOT EXISTS FoundedItem : Step1 (
  902. )with version=true;
  903. typedef if not exists TranslationalRangeMeasure = morph <
  904. LengthMeasure,
  905. UnlimitedRange
  906. >;
  907. typedef if not exists RotationalRangeMeasure = morph <
  908. PlaneAngleMeasure,
  909. UnlimitedRange
  910. >;
  911. typedef if not exists ProfileSelect = morph <
  912. ThroughProfileFloor,
  913. ProfileFloor
  914. >;
  915. typedef if not exists AngleOrLength = morph <
  916. PlaneAngleMeasure,
  917. LengthMeasure
  918. >;
  919. typedef if not exists FoundedItemSelect = morph <
  920. FoundedItem,
  921. RepresentationItem
  922. >;
  923. typedef if not exists VectorOrDirection = morph <
  924. Vector,
  925. Direction
  926. >;
  927. typedef if not exists TrimmingSelect = morph <
  928. CartesianPoint,
  929. ParameterValue
  930. >;
  931. typedef if not exists ToleranceSelect = morph <
  932. PlusMinusValue,
  933. LimitsAndFits
  934. >;
  935. typedef if not exists Rvalue = morph <
  936. NcConstant,
  937. NcVariable
  938. >;
  939. CREATE CLASS IF NOT EXISTS Specification : Step1 (
  940. constraint SpecificationUsageConstraint[?],
  941. specification_id text,
  942. specification_description text,
  943. specification_class text
  944. )with version=true;
  945. CREATE CLASS IF NOT EXISTS DeviceId : Step1 (
  946. id varchar,
  947. model_name text,
  948. serial_number text,
  949. manufacturer text,
  950. date_manufactured CalendarDate
  951. )with version=true;
  952. CREATE CLASS IF NOT EXISTS MillingToolBody : ToolBody (
  953. dimension ToolDimension,
  954. number_of_teeth int,
  955. hand_of_cut Hand,
  956. coolant_through_tool boolean,
  957. pilot_length double
  958. )with version=true;
  959. CREATE CLASS IF NOT EXISTS Drill : MillingToolBody (
  960. )with version=true;
  961. CREATE CLASS IF NOT EXISTS Reamer : MillingToolBody (
  962. )with version=true;
  963. CREATE CLASS IF NOT EXISTS FreeformStrategy : Step1 (
  964. pathmode PathmodeType,
  965. cutmode CutmodeType,
  966. its_milling_tolerances Tolerances,
  967. stepover double
  968. )with version=true;
  969. CREATE CLASS IF NOT EXISTS LeadingLineStrategy : FreeformStrategy (
  970. its_line BoundedCurve
  971. )with version=true;
  972. CREATE CLASS IF NOT EXISTS ApplicationContextElement : Step1 (
  973. name varchar,
  974. frame_of_reference ApplicationContext
  975. )with version=true;
  976. CREATE CLASS IF NOT EXISTS LibraryContext : ApplicationContextElement (
  977. library_reference text
  978. )with version=true;
  979. CREATE CLASS IF NOT EXISTS Sensor : ElementCapability (
  980. device_id DeviceId
  981. )with version=true;
  982. CREATE CLASS IF NOT EXISTS VertexPoint : Vertex (
  983. vertex_geometry Point
  984. )with version=true;
  985. CREATE CLASS IF NOT EXISTS TVertex : VertexPoint (
  986. north_link TLink,
  987. west_link TLink,
  988. south_link TLink,
  989. east_link TLink
  990. )with version=true;
  991. CREATE CLASS IF NOT EXISTS PlaneCcStrategy : FreeformStrategy (
  992. its_plane_normal Direction
  993. )with version=true;
  994. CREATE CLASS IF NOT EXISTS TNode : TopologicalRepresentationItem (
  995. vertex TVertex,
  996. control_point RationalPoint
  997. )with version=true;
  998. CREATE CLASS IF NOT EXISTS TaperedReamer : Reamer (
  999. taper_angle double
  1000. )with version=true;
  1001. CREATE CLASS IF NOT EXISTS PlaneClStrategy : FreeformStrategy (
  1002. its_plane_normal Direction
  1003. )with version=true;
  1004. CREATE CLASS IF NOT EXISTS Spindle : ElementCapability (
  1005. spindle_power double,
  1006. spindle_name text,
  1007. spindle_manufacturer text,
  1008. manufacturer_model_designation text,
  1009. range SpindleRange[?]
  1010. )with version=true;
  1011. CREATE CLASS IF NOT EXISTS ToolSpindle : Spindle (
  1012. spindle_tool_holder_style_designation text,
  1013. coolant_through_spindle boolean
  1014. )with version=true;
  1015. CREATE CLASS IF NOT EXISTS PersonAndAddress : Step1 (
  1016. its_person Person,
  1017. its_address Address
  1018. )with version=true;
  1019. CREATE CLASS IF NOT EXISTS WorkSpindle : Spindle (
  1020. spindle_nose_designation text,
  1021. spindle_bore_diameter double,
  1022. round_bar_stock_diameter double,
  1023. through_hole_diameter double,
  1024. hex_bar_stock_capacity double,
  1025. chuck Chuck
  1026. )with version=true;
  1027. CREATE CLASS IF NOT EXISTS MillingCutter : MillingToolBody (
  1028. )with version=true;
  1029. CREATE CLASS IF NOT EXISTS DovetailMill : MillingCutter (
  1030. included_angle double
  1031. )with version=true;
  1032. CREATE CLASS IF NOT EXISTS ApproachRetractStrategy : Step1 (
  1033. tool_orientation Direction
  1034. )with version=true;
  1035. CREATE CLASS IF NOT EXISTS AirStrategy : ApproachRetractStrategy (
  1036. )with version=true;
  1037. CREATE CLASS IF NOT EXISTS ApRetractTangent : AirStrategy (
  1038. radius double
  1039. )with version=true;
  1040. CREATE CLASS IF NOT EXISTS MachiningCapability : Step1 (
  1041. capability MachiningCapabilityProfile,
  1042. machining_accuracy text,
  1043. description text,
  1044. machining_size MachiningSize
  1045. )with version=true;
  1046. CREATE CLASS IF NOT EXISTS UserDefinedTool : MillingToolBody (
  1047. --lzg
  1048. identifier text
  1049. )with version=true;
  1050. CREATE CLASS IF NOT EXISTS WorkTable : ElementCapability (
  1051. rotatable boolean,
  1052. workpiece_weight double,
  1053. fixture_style FixtureStyle,
  1054. chuck Chuck,
  1055. t_slot TSlot
  1056. )with version=true;
  1057. CREATE CLASS IF NOT EXISTS CircularWorkTable : WorkTable (
  1058. table_diameter double
  1059. )with version=true;
  1060. CREATE CLASS IF NOT EXISTS ThreeAxesTiltedTool : ToolDirectionForMilling (
  1061. its_tool_direction Direction
  1062. )with version=true;
  1063. CREATE CLASS IF NOT EXISTS Assignment : ProgramStructure (
  1064. its_lvalue NcVariable,
  1065. its_rvalue Rvalue
  1066. )with version=true;
  1067. CREATE CLASS IF NOT EXISTS BSplineSurface : BoundedSurface (
  1068. u_degree int,
  1069. v_degree int,
  1070. control_points_list CartesianPoint[?],
  1071. surface_form BSplineSurfaceForm,
  1072. u_closed Logical,
  1073. v_closed Logical,
  1074. self_intersect Logical
  1075. )with version=true;
  1076. CREATE CLASS IF NOT EXISTS UniformSurface : BSplineSurface (
  1077. )with version=true;
  1078. CREATE CLASS IF NOT EXISTS Placement : GeometricRepresentationItem (
  1079. --lzg
  1080. location CartesianPoint
  1081. )with version=true;
  1082. CREATE CLASS IF NOT EXISTS Axis1Placement : Placement (
  1083. axis Direction
  1084. )with version=true;
  1085. CREATE CLASS IF NOT EXISTS StandardMachiningProcess : Step1 (
  1086. process_description text,
  1087. type_of_machining text,
  1088. power double,
  1089. electric_power double,
  1090. process_emission EmissionProperty[?]
  1091. )with version=true;
  1092. CREATE CLASS IF NOT EXISTS BSplineCurve : BoundedCurve (
  1093. degree int,
  1094. control_points_list CartesianPoint[?],
  1095. curve_form BSplineCurveForm,
  1096. closed_curve Logical,
  1097. self_intersect Logical
  1098. )with version=true;
  1099. CREATE CLASS IF NOT EXISTS RationalBSplineCurve : BSplineCurve (
  1100. weights_data Double[?]
  1101. )with version=true;
  1102. CREATE CLASS IF NOT EXISTS ComparisonExpression : BooleanExpression (
  1103. operand1 NcVariable,
  1104. operand2 Rvalue
  1105. )with version=true;
  1106. CREATE CLASS IF NOT EXISTS ComparisonGreater : ComparisonExpression (
  1107. )with version=true;
  1108. CREATE CLASS IF NOT EXISTS ToolpathSpeed : Step1 (
  1109. --lzg
  1110. speed BSplineCurve
  1111. )with version=true;
  1112. CREATE CLASS IF NOT EXISTS Endmill : MillingCutter (
  1113. )with version=true;
  1114. CREATE CLASS IF NOT EXISTS BallEndmill : Endmill (
  1115. )with version=true;
  1116. CREATE CLASS IF NOT EXISTS FaceBound : TopologicalRepresentationItem (
  1117. bound Loop,
  1118. orientation boolean
  1119. )with version=true;
  1120. CREATE CLASS IF NOT EXISTS CenterDrill : MillingToolBody (
  1121. )with version=true;
  1122. CREATE CLASS IF NOT EXISTS Tap : MillingToolBody (
  1123. )with version=true;
  1124. CREATE CLASS IF NOT EXISTS CombinedDrillAndTap : Tap (
  1125. drill_length double
  1126. )with version=true;
  1127. CREATE CLASS IF NOT EXISTS MillingMachineFunctions : MachineFunctions (
  1128. coolant boolean,
  1129. coolant_pressure double,
  1130. mist boolean,
  1131. through_spindle_coolant boolean,
  1132. through_pressure double,
  1133. axis_clamping Text[?],
  1134. chip_removal boolean,
  1135. oriented_spindle_stop Direction,
  1136. its_process_model ProcessModelList,
  1137. other_functions PropertyParameter[?]
  1138. )with version=true;
  1139. CREATE CLASS IF NOT EXISTS Approval : Step1 (
  1140. status_xxx ApprovalStatus,
  1141. level text
  1142. )with version=true;
  1143. CREATE CLASS IF NOT EXISTS DateAndTime : Step1 (
  1144. date_component Date,
  1145. time_component LocalTime
  1146. )with version=true;
  1147. CREATE CLASS IF NOT EXISTS ProductContext : ApplicationContextElement (
  1148. discipline_type text
  1149. )with version=true;
  1150. CREATE CLASS IF NOT EXISTS ToolBreakage : Sensor (
  1151. )with version=true;
  1152. CREATE CLASS IF NOT EXISTS RightCircularCylinder : GeometricRepresentationItem (
  1153. position Axis1Placement,
  1154. height double,
  1155. radius double
  1156. )with version=true;
  1157. CREATE CLASS IF NOT EXISTS TaperedTap : Tap (
  1158. taper_angle double
  1159. )with version=true;
  1160. CREATE CLASS IF NOT EXISTS QuasiUniformSurface : BSplineSurface (
  1161. )with version=true;
  1162. CREATE CLASS IF NOT EXISTS ComparisonLess : ComparisonExpression (
  1163. )with version=true;
  1164. CREATE CLASS IF NOT EXISTS PartProbe : Sensor (
  1165. probe_type ProbeType,
  1166. dimensionality SensorDimensionality,
  1167. setting_time double
  1168. )with version=true;
  1169. CREATE CLASS IF NOT EXISTS QuasiUniformCurve : BSplineCurve (
  1170. )with version=true;
  1171. CREATE CLASS IF NOT EXISTS BullnoseEndmill : Endmill (
  1172. )with version=true;
  1173. CREATE CLASS IF NOT EXISTS UnloadTool : NcFunction (
  1174. its_tool MachiningTool
  1175. )with version=true;
  1176. CREATE CLASS IF NOT EXISTS PlungeStrategy : ApproachRetractStrategy (
  1177. )with version=true;
  1178. CREATE CLASS IF NOT EXISTS PlungeHelix : PlungeStrategy (
  1179. radius double,
  1180. angle double
  1181. )with version=true;
  1182. CREATE CLASS IF NOT EXISTS MachineElementRelationship : Step1 (
  1183. class_xxx text,
  1184. former_element MachineToolElement,
  1185. latter_element MachineToolElement
  1186. )with version=true;
  1187. CREATE CLASS IF NOT EXISTS SurfaceOfLinearExtrusion : SweptSurface (
  1188. extrusion_axis Vector
  1189. )with version=true;
  1190. CREATE CLASS IF NOT EXISTS PlungeRamp : PlungeStrategy (
  1191. angle double
  1192. )with version=true;
  1193. CREATE CLASS IF NOT EXISTS UniformCurve : BSplineCurve (
  1194. )with version=true;
  1195. CREATE CLASS IF NOT EXISTS BezierCurve : BSplineCurve (
  1196. )with version=true;
  1197. CREATE CLASS IF NOT EXISTS KinematicStructure : Step1 (
  1198. joints KinematicJoint[?]
  1199. )with version=true;
  1200. CREATE CLASS IF NOT EXISTS TrimmedCurve : BoundedCurve (
  1201. basis_curve Curve,
  1202. trim_1 TrimmingSelect[?],
  1203. trim_2 TrimmingSelect[?],
  1204. sense_agreement boolean,
  1205. master_representation TrimmingPreference
  1206. )with version=true;
  1207. CREATE CLASS IF NOT EXISTS Pcurve : Curve (
  1208. basis_surface Surface,
  1209. reference_to_curve DefinitionalRepresentation
  1210. )with version=true;
  1211. CREATE CLASS IF NOT EXISTS BoundedPcurve : Pcurve (
  1212. )with version=true;
  1213. CREATE CLASS IF NOT EXISTS SpadeDrill : Drill (
  1214. )with version=true;
  1215. CREATE CLASS IF NOT EXISTS ProductDefinitionContext : ApplicationContextElement (
  1216. life_cycle_stage text
  1217. )with version=true;
  1218. CREATE CLASS IF NOT EXISTS RectangularWorkTable : WorkTable (
  1219. table_width double,
  1220. table_length double
  1221. )with version=true;
  1222. CREATE CLASS IF NOT EXISTS ThreadedSpindle : ToolSpindle (
  1223. spindle_thread_diameter double,
  1224. spindle_thread_pitch double,
  1225. spindle_thread_form text
  1226. )with version=true;
  1227. CREATE CLASS IF NOT EXISTS LoadTool : NcFunction (
  1228. its_tool MachiningTool
  1229. )with version=true;
  1230. CREATE CLASS IF NOT EXISTS ThreadingTool : MillingToolBody (
  1231. )with version=true;
  1232. CREATE CLASS IF NOT EXISTS ComparisonGreaterEqual : ComparisonExpression (
  1233. )with version=true;
  1234. CREATE CLASS IF NOT EXISTS CompositeCurve : BoundedCurve (
  1235. segments CompositeCurveSegment[?],
  1236. self_intersect Logical
  1237. )with version=true;
  1238. CREATE CLASS IF NOT EXISTS EnvironmentalEvaluation : Step1 (
  1239. evaluation_name text,
  1240. power_in_idling double,
  1241. time_for_warming_up double,
  1242. power_for_standard_machining StandardMachiningProcess[?]
  1243. )with version=true;
  1244. CREATE CLASS IF NOT EXISTS InProcessGeometry : Step1 (
  1245. as_is AdvancedBrepShapeRepresentation,
  1246. to_be AdvancedBrepShapeRepresentation,
  1247. removal AdvancedBrepShapeRepresentation
  1248. )with version=true;
  1249. CREATE CLASS IF NOT EXISTS WoodruffKeyseatMill : MillingCutter (
  1250. cutter_width double
  1251. )with version=true;
  1252. CREATE CLASS IF NOT EXISTS WaitForMark : NcFunction (
  1253. its_channel Channel
  1254. )with version=true;
  1255. CREATE CLASS IF NOT EXISTS KinematicPair : ItemDefinedTransformation (
  1256. joint KinematicJoint
  1257. )with version=true;
  1258. CREATE CLASS IF NOT EXISTS ElementLinkAssociation : Step1 (
  1259. element_xxx MachineToolElement,
  1260. machine_link KinematicLink
  1261. )with version=true;
  1262. CREATE CLASS IF NOT EXISTS FaceOuterBound : FaceBound (
  1263. )with version=true;
  1264. CREATE CLASS IF NOT EXISTS TwistDrill : Drill (
  1265. )with version=true;
  1266. CREATE CLASS IF NOT EXISTS TaperedDrill : TwistDrill (
  1267. taper_angle double
  1268. )with version=true;
  1269. CREATE CLASS IF NOT EXISTS CombinedDrillAndReamer : Reamer (
  1270. drill_length double
  1271. )with version=true;
  1272. CREATE CLASS IF NOT EXISTS RevolutePair : KinematicPair (
  1273. )with version=true;
  1274. CREATE CLASS IF NOT EXISTS SurfaceOfRevolution : SweptSurface (
  1275. axis_position Axis1Placement
  1276. )with version=true;
  1277. CREATE CLASS IF NOT EXISTS Face : TopologicalRepresentationItem (
  1278. bounds FaceBound[?]
  1279. )with version=true;
  1280. CREATE CLASS IF NOT EXISTS FaceSurface : Face (
  1281. face_geometry Surface,
  1282. same_sense boolean
  1283. )with version=true;
  1284. CREATE CLASS IF NOT EXISTS OrientedFace : Face (
  1285. face_element Face,
  1286. orientation boolean
  1287. )with version=true;
  1288. CREATE CLASS IF NOT EXISTS ComparisonNotEqual : ComparisonExpression (
  1289. )with version=true;
  1290. CREATE CLASS IF NOT EXISTS ApRetractAngle : AirStrategy (
  1291. angle double,
  1292. travel_length double
  1293. )with version=true;
  1294. CREATE CLASS IF NOT EXISTS Counterbore : MillingToolBody (
  1295. )with version=true;
  1296. CREATE CLASS IF NOT EXISTS Product : Step1 (
  1297. id varchar,
  1298. name varchar,
  1299. description text,
  1300. frame_of_reference ProductContext[?]
  1301. )with version=true;
  1302. CREATE CLASS IF NOT EXISTS Countersink : MillingToolBody (
  1303. countersink_radius double
  1304. )with version=true;
  1305. CREATE CLASS IF NOT EXISTS ComparisonEqual : ComparisonExpression (
  1306. )with version=true;
  1307. CREATE CLASS IF NOT EXISTS PrismaticPair : KinematicPair (
  1308. )with version=true;
  1309. CREATE CLASS IF NOT EXISTS TaperedSpindle : ToolSpindle (
  1310. spindle_taper_designation text
  1311. )with version=true;
  1312. CREATE CLASS IF NOT EXISTS StraightSpindle : ToolSpindle (
  1313. spindle_bore_depth double,
  1314. spindle_bore_diameter double
  1315. )with version=true;
  1316. CREATE CLASS IF NOT EXISTS ComparisonLessEqual : ComparisonExpression (
  1317. )with version=true;
  1318. CREATE CLASS IF NOT EXISTS TSlotMill : MillingCutter (
  1319. cutting_thickness double
  1320. )with version=true;
  1321. CREATE CLASS IF NOT EXISTS BoringTool : MillingToolBody (
  1322. )with version=true;
  1323. CREATE CLASS IF NOT EXISTS BacksideCountersink : Countersink (
  1324. )with version=true;
  1325. CREATE CLASS IF NOT EXISTS BezierSurface : BSplineSurface (
  1326. )with version=true;
  1327. CREATE CLASS IF NOT EXISTS PlungeZigzag : PlungeStrategy (
  1328. angle double,
  1329. width double
  1330. )with version=true;
  1331. CREATE CLASS IF NOT EXISTS RangeOfMotion : Step1 (
  1332. axis_name text,
  1333. motion_range AngleOrLength
  1334. )with version=true;
  1335. CREATE CLASS IF NOT EXISTS SphericalPair : KinematicPair (
  1336. )with version=true;
  1337. CREATE CLASS IF NOT EXISTS BSplineCurveWithKnots : BSplineCurve (
  1338. knot_multiplicities Int[?],
  1339. knots Double[?],
  1340. knot_spec KnotType
  1341. )with version=true;
  1342. CREATE CLASS IF NOT EXISTS ToolSetting : Sensor (
  1343. probe_type ProbeType,
  1344. measuring_radius boolean,
  1345. measuring_length boolean,
  1346. measure_time double
  1347. )with version=true;
  1348. CREATE CLASS IF NOT EXISTS Axis2Placement3d : Placement (
  1349. axis Direction,
  1350. ref_direction Direction
  1351. )with version=true;
  1352. CREATE CLASS IF NOT EXISTS RationalBSplineSurface : BSplineSurface (
  1353. weights_data double[?]
  1354. )with version=true;
  1355. CREATE CLASS IF NOT EXISTS Installation : Step1 (
  1356. weight double,
  1357. size_xxx MachineSize,
  1358. electrical Electrical,
  1359. air_pressure_requirement double,
  1360. water_flow_rate double,
  1361. hydraulics Hydraulics
  1362. )with version=true;
  1363. CREATE CLASS IF NOT EXISTS TaperedEndmill : Endmill (
  1364. taper_angle double
  1365. )with version=true;
  1366. CREATE CLASS IF NOT EXISTS CylindricalPair : KinematicPair (
  1367. )with version=true;
  1368. CREATE CLASS IF NOT EXISTS PartialAreaDefinition : Step1 (
  1369. effective_length double,
  1370. placement Axis2Placement3d,
  1371. maximum_length double
  1372. )with version=true;
  1373. CREATE CLASS IF NOT EXISTS CuttingTool : MachiningTool (
  1374. its_tool_body ToolBody,
  1375. its_cutting_edge CuttingComponent[?],
  1376. overall_assembly_length double
  1377. )with version=true;
  1378. CREATE CLASS IF NOT EXISTS BSplineSurfaceWithKnots : BSplineSurface (
  1379. u_multiplicities Int[?],
  1380. v_multiplicities Int[?],
  1381. u_knots Double[?],
  1382. v_knots Double[?],
  1383. knot_spec KnotType
  1384. )with version=true;
  1385. CREATE CLASS IF NOT EXISTS TolerancedLengthMeasure : Step1 (
  1386. theoretical_size double,
  1387. implicit_tolerance ToleranceSelect
  1388. )with version=true;
  1389. CREATE CLASS IF NOT EXISTS ProductConceptContext : ApplicationContextElement (
  1390. market_segment_type text
  1391. )with version=true;
  1392. CREATE CLASS IF NOT EXISTS SphericalHoleBottom : BlindBottomCondition (
  1393. radius_xxx TolerancedLengthMeasure
  1394. )with version=true;
  1395. CREATE CLASS IF NOT EXISTS MillingCuttingTool : CuttingTool (
  1396. direction_for_spindle_orientation Direction,
  1397. tool_holder_diameter_for_spindle_orientation double
  1398. )with version=true;
  1399. CREATE CLASS IF NOT EXISTS Pallet : WorkTable (
  1400. random_access boolean,
  1401. table_width double,
  1402. table_length double,
  1403. number_of_pallet double,
  1404. storage_configuration PalletStorageConfiguration,
  1405. pallet_change_time_minimum double,
  1406. pallet_change_time_maximum double,
  1407. pallet_type text
  1408. )with version=true;
  1409. CREATE CLASS IF NOT EXISTS AdvancedFace : FaceSurface (
  1410. )with version=true;
  1411. CREATE CLASS IF NOT EXISTS ThreadMill : MillingCutter (
  1412. )with version=true;
  1413. CREATE CLASS IF NOT EXISTS TNodeV4 : TNode (
  1414. north_node TNodeV4,
  1415. west_node TNodeV4,
  1416. south_node TNodeV4,
  1417. east_node TNodeV4
  1418. )with version=true;
  1419. CREATE CLASS IF NOT EXISTS SideMill : MillingCutter (
  1420. cutter_width double
  1421. )with version=true;
  1422. CREATE CLASS IF NOT EXISTS TConnect : TopologicalRepresentationItem (
  1423. nodes TNode[?]
  1424. )with version=true;
  1425. CREATE CLASS IF NOT EXISTS UvStrategy : FreeformStrategy (
  1426. forward_direction Direction,
  1427. sideward_direction Direction
  1428. )with version=true;
  1429. CREATE CLASS IF NOT EXISTS Facemill : MillingCutter (
  1430. )with version=true;
  1431. CREATE CLASS IF NOT EXISTS BacksideCounterbore : Counterbore (
  1432. )with version=true;
  1433. CREATE CLASS IF NOT EXISTS Block : GeometricRepresentationItem (
  1434. position Axis2Placement3d,
  1435. x double,
  1436. y double,
  1437. z double
  1438. )with version=true;
  1439. CREATE CLASS IF NOT EXISTS TFace : Face (
  1440. )with version=true;
  1441. CREATE CLASS IF NOT EXISTS PlungeToolaxis : PlungeStrategy (
  1442. )with version=true;
  1443. CREATE CLASS IF NOT EXISTS PairActuator : Step1 (
  1444. actuated_pair KinematicPair,
  1445. name varchar
  1446. )with version=true;
  1447. typedef if not exists ToolpathSpeedprofile = morph <
  1448. ToolpathSpeed,
  1449. PositiveRatioMeasure,
  1450. SpeedName
  1451. >;
  1452. typedef if not exists PcurveOrSurface = morph <
  1453. Pcurve,
  1454. Surface
  1455. >;
  1456. typedef if not exists CurveWithSurfaceNormal = morph <
  1457. BoundedPcurve,
  1458. CurveWithNormalVector
  1459. >;
  1460. typedef if not exists BoundingGeometrySelect = morph <
  1461. Block,
  1462. RightCircularCylinder,
  1463. AdvancedBrepShapeRepresentation
  1464. >;
  1465. typedef if not exists RestrictedAreaSelect = morph <
  1466. BoundedSurface,
  1467. BoundingGeometrySelect
  1468. >;
  1469. typedef if not exists RigidPlacement = morph <
  1470. Axis2Placement3d,
  1471. SuParameters
  1472. >;
  1473. CREATE CLASS IF NOT EXISTS TravelPath : Step1 (
  1474. placement Axis2Placement3d
  1475. )with version=true;
  1476. CREATE CLASS IF NOT EXISTS CircularPath : TravelPath (
  1477. radius_xxx TolerancedLengthMeasure
  1478. )with version=true;
  1479. CREATE CLASS IF NOT EXISTS CompleteCircularPath : CircularPath (
  1480. )with version=true;
  1481. CREATE CLASS IF NOT EXISTS Toolpath : Step1 (
  1482. its_priority boolean,
  1483. its_type_xxx ToolpathType,
  1484. its_speed ToolpathSpeedprofile,
  1485. its_technology Technology,
  1486. its_machine_functions MachineFunctions
  1487. )with version=true;
  1488. CREATE CLASS IF NOT EXISTS Trajectory : Toolpath (
  1489. its_direction boolean
  1490. )with version=true;
  1491. CREATE CLASS IF NOT EXISTS CutterContactTrajectory : Trajectory (
  1492. basiccurve CurveWithSurfaceNormal,
  1493. its_toolaxis BoundedCurve,
  1494. its_contact_type ContactType
  1495. )with version=true;
  1496. CREATE CLASS IF NOT EXISTS ParameterisedPath : Toolpath (
  1497. )with version=true;
  1498. CREATE CLASS IF NOT EXISTS Connector : ParameterisedPath (
  1499. )with version=true;
  1500. CREATE CLASS IF NOT EXISTS Conic : Curve (
  1501. position Axis2Placement3d
  1502. )with version=true;
  1503. CREATE CLASS IF NOT EXISTS Hyperbola : Conic (
  1504. semi_axis double,
  1505. semi_imag_axis double
  1506. )with version=true;
  1507. CREATE CLASS IF NOT EXISTS ConicalHoleBottom : BlindBottomCondition (
  1508. tip_angle double,
  1509. tip_radius TolerancedLengthMeasure
  1510. )with version=true;
  1511. CREATE CLASS IF NOT EXISTS RadiusedPocketBottomCondition : PocketBottomCondition (
  1512. floor_radius_center CartesianPoint,
  1513. floor_radius TolerancedLengthMeasure
  1514. )with version=true;
  1515. CREATE CLASS IF NOT EXISTS FlatSlotEndType : SlotEndType (
  1516. corner_radius1 TolerancedLengthMeasure,
  1517. corner_radius2 TolerancedLengthMeasure
  1518. )with version=true;
  1519. CREATE CLASS IF NOT EXISTS FlatWithRadiusHoleBottom : BlindBottomCondition (
  1520. corner_radius TolerancedLengthMeasure
  1521. )with version=true;
  1522. CREATE CLASS IF NOT EXISTS Profile : Step1 (
  1523. placement Axis2Placement3d
  1524. )with version=true;
  1525. CREATE CLASS IF NOT EXISTS OpenProfile : Profile (
  1526. )with version=true;
  1527. CREATE CLASS IF NOT EXISTS ConnectDirect : Connector (
  1528. )with version=true;
  1529. CREATE CLASS IF NOT EXISTS ProductDefinitionFormation : Step1 (
  1530. id varchar,
  1531. description text,
  1532. of_product Product
  1533. )with version=true;
  1534. CREATE CLASS IF NOT EXISTS ClosedProfile : Profile (
  1535. )with version=true;
  1536. CREATE CLASS IF NOT EXISTS NgonProfile : ClosedProfile (
  1537. diameter_xxx TolerancedLengthMeasure,
  1538. number_of_sides int,
  1539. circumscribed_or_across_flats boolean
  1540. )with version=true;
  1541. CREATE CLASS IF NOT EXISTS ElementarySurface : Surface (
  1542. position Axis2Placement3d
  1543. )with version=true;
  1544. CREATE CLASS IF NOT EXISTS SphericalSurface : ElementarySurface (
  1545. radius double
  1546. )with version=true;
  1547. CREATE CLASS IF NOT EXISTS ConnectedFaceSet : TopologicalRepresentationItem (
  1548. cfs_faces Face[?]
  1549. )with version=true;
  1550. CREATE CLASS IF NOT EXISTS OpenShell : ConnectedFaceSet (
  1551. )with version=true;
  1552. CREATE CLASS IF NOT EXISTS OrientedOpenShell : OpenShell (
  1553. open_shell_element OpenShell,
  1554. orientation boolean
  1555. )with version=true;
  1556. CREATE CLASS IF NOT EXISTS RectangularClosedProfile : ClosedProfile (
  1557. profile_width TolerancedLengthMeasure,
  1558. profile_length TolerancedLengthMeasure
  1559. )with version=true;
  1560. CREATE CLASS IF NOT EXISTS WoodruffSlotEndType : SlotEndType (
  1561. radius_xxx TolerancedLengthMeasure
  1562. )with version=true;
  1563. CREATE CLASS IF NOT EXISTS ApproachLiftPath : ParameterisedPath (
  1564. fix_point CartesianPoint,
  1565. fix_point_dir Direction
  1566. )with version=true;
  1567. CREATE CLASS IF NOT EXISTS ApLiftPathAngle : ApproachLiftPath (
  1568. angle double,
  1569. benddist double
  1570. )with version=true;
  1571. CREATE CLASS IF NOT EXISTS SimplePairRange : Step1 (
  1572. applies_to_pair KinematicPair
  1573. )with version=true;
  1574. CREATE CLASS IF NOT EXISTS SphericalPairRange : SimplePairRange (
  1575. simple_pair_range_applies_to_pair SphericalPair,
  1576. lower_limit_yaw RotationalRangeMeasure,
  1577. upper_limit_yaw RotationalRangeMeasure,
  1578. lower_limit_pitch RotationalRangeMeasure,
  1579. upper_limit_pitch RotationalRangeMeasure,
  1580. lower_limit_roll RotationalRangeMeasure,
  1581. upper_limit_roll RotationalRangeMeasure
  1582. )with version=true;
  1583. CREATE CLASS IF NOT EXISTS LinearPath : TravelPath (
  1584. distance TolerancedLengthMeasure,
  1585. its_direction_xxx Direction
  1586. )with version=true;
  1587. CREATE CLASS IF NOT EXISTS Parabola : Conic (
  1588. focal_dist double
  1589. )with version=true;
  1590. CREATE CLASS IF NOT EXISTS PositioningCapability : Step1 (
  1591. maximum_range_of_motion_xxx RangeOfMotion[?],
  1592. maximum_displacement_error_of_linear_axis double,
  1593. maximum_repeatability_error_of_linear_axis double
  1594. )with version=true;
  1595. CREATE CLASS IF NOT EXISTS CutterLocationTrajectory : Trajectory (
  1596. basiccurve BoundedCurve,
  1597. its_toolaxis BoundedCurve,
  1598. surface_normal BoundedCurve
  1599. )with version=true;
  1600. CREATE CLASS IF NOT EXISTS GeneralClosedProfile : ClosedProfile (
  1601. closed_profile_shape BoundedCurve
  1602. )with version=true;
  1603. CREATE CLASS IF NOT EXISTS GeneralProfileFloor : ProfileFloor (
  1604. floor Face
  1605. )with version=true;
  1606. CREATE CLASS IF NOT EXISTS CircularClosedProfile : ClosedProfile (
  1607. diameter_xxx TolerancedLengthMeasure
  1608. )with version=true;
  1609. CREATE CLASS IF NOT EXISTS LinearProfile : OpenProfile (
  1610. profile_length NumericParameter
  1611. )with version=true;
  1612. CREATE CLASS IF NOT EXISTS TEdge : Edge (
  1613. left_face TFace,
  1614. right_face TFace,
  1615. on_boundary boolean
  1616. )with version=true;
  1617. CREATE CLASS IF NOT EXISTS Ellipse : Conic (
  1618. semi_axis_1 double,
  1619. semi_axis_2 double
  1620. )with version=true;
  1621. CREATE CLASS IF NOT EXISTS GeneralPath : TravelPath (
  1622. swept_path BoundedCurve
  1623. )with version=true;
  1624. CREATE CLASS IF NOT EXISTS SquareUProfile : OpenProfile (
  1625. width_xxx TolerancedLengthMeasure,
  1626. first_radius TolerancedLengthMeasure,
  1627. first_angle double,
  1628. second_radius TolerancedLengthMeasure,
  1629. second_angle double
  1630. )with version=true;
  1631. CREATE CLASS IF NOT EXISTS TEdgeCondition : TopologicalRepresentationItem (
  1632. edge TEdge,
  1633. boundary_condition boolean
  1634. )with version=true;
  1635. CREATE CLASS IF NOT EXISTS Plane : ElementarySurface (
  1636. )with version=true;
  1637. CREATE CLASS IF NOT EXISTS Circle : Conic (
  1638. radius double
  1639. )with version=true;
  1640. CREATE CLASS IF NOT EXISTS GeneralProfile : OpenProfile (
  1641. its_profile BoundedCurve
  1642. )with version=true;
  1643. CREATE CLASS IF NOT EXISTS VeeProfile : OpenProfile (
  1644. profile_radius TolerancedLengthMeasure,
  1645. profile_angle double,
  1646. tilt_angle double
  1647. )with version=true;
  1648. CREATE CLASS IF NOT EXISTS Feedstop : Toolpath (
  1649. dwell double
  1650. )with version=true;
  1651. CREATE CLASS IF NOT EXISTS AxisTrajectory : Trajectory (
  1652. axis_list Text[?],
  1653. commands BoundedCurve[?]
  1654. )with version=true;
  1655. CREATE CLASS IF NOT EXISTS MachineToolSpecification : MachineTool (
  1656. machine_class MachineClass,
  1657. device_id DeviceId,
  1658. machining_capabilities MachiningCapability[?],
  1659. measuring_capability MeasuringCapability,
  1660. --lzg
  1661. location Locator,
  1662. installation Installation,
  1663. nc_controller_information NcController,
  1664. environment EnvironmentalEvaluation,
  1665. its_elements MachineToolElement[?]
  1666. )with version=true;
  1667. CREATE CLASS IF NOT EXISTS ClosedShell : ConnectedFaceSet (
  1668. )with version=true;
  1669. CREATE CLASS IF NOT EXISTS PartialCircularPath : CircularPath (
  1670. sweep_angle double
  1671. )with version=true;
  1672. CREATE CLASS IF NOT EXISTS ConnectSecplane : Connector (
  1673. up_dir Direction,
  1674. down_dir Direction
  1675. )with version=true;
  1676. CREATE CLASS IF NOT EXISTS ApLiftPathTangent : ApproachLiftPath (
  1677. radius double
  1678. )with version=true;
  1679. CREATE CLASS IF NOT EXISTS ToolpathList : Step1 (
  1680. its_list Toolpath[?]
  1681. )with version=true;
  1682. CREATE CLASS IF NOT EXISTS DiameterTaper : Step1 (
  1683. final_diameter TolerancedLengthMeasure
  1684. )with version=true;
  1685. CREATE CLASS IF NOT EXISTS ProductDefinition : Step1 (
  1686. id varchar,
  1687. description text,
  1688. formation ProductDefinitionFormation,
  1689. frame_of_reference ProductDefinitionContext
  1690. )with version=true;
  1691. CREATE CLASS IF NOT EXISTS PrismaticPairRange : SimplePairRange (
  1692. simple_pair_range_applies_to_pair PrismaticPair,
  1693. lower_limit_actual_translation TranslationalRangeMeasure,
  1694. upper_limit_actual_translation TranslationalRangeMeasure
  1695. )with version=true;
  1696. CREATE CLASS IF NOT EXISTS Workpiece : Step1 (
  1697. its_id text,
  1698. its_material Material,
  1699. global_tolerance double,
  1700. its_rawpiece Workpiece,
  1701. its_geometry AdvancedBrepShapeRepresentation,
  1702. its_bounding_geometry BoundingGeometrySelect,
  1703. clamping_positions CartesianPoint[?]
  1704. )with version=true;
  1705. CREATE CLASS IF NOT EXISTS WorkpieceSetup : Step1 (
  1706. its_workpiece Workpiece,
  1707. its_origin Axis2Placement3d,
  1708. its_offset OffsetVector,
  1709. its_restricted_area RestrictedAreaSelect,
  1710. its_instructions SetupInstruction[?]
  1711. )with version=true;
  1712. CREATE CLASS IF NOT EXISTS RevolutePairRange : SimplePairRange (
  1713. simple_pair_range_applies_to_pair RevolutePair,
  1714. lower_limit_actual_rotation RotationalRangeMeasure,
  1715. upper_limit_actual_rotation RotationalRangeMeasure
  1716. )with version=true;
  1717. CREATE CLASS IF NOT EXISTS OrientedClosedShell : ClosedShell (
  1718. closed_shell_element ClosedShell,
  1719. orientation boolean
  1720. )with version=true;
  1721. CREATE CLASS IF NOT EXISTS RoundedUProfile : OpenProfile (
  1722. width_xxx TolerancedLengthMeasure
  1723. )with version=true;
  1724. CREATE CLASS IF NOT EXISTS TeeProfile : OpenProfile (
  1725. first_angle double,
  1726. second_angle double,
  1727. cross_bar_width TolerancedLengthMeasure,
  1728. cross_bar_depth TolerancedLengthMeasure,
  1729. radius_xxx TolerancedLengthMeasure,
  1730. width_xxx TolerancedLengthMeasure,
  1731. first_offset TolerancedLengthMeasure,
  1732. second_offset TolerancedLengthMeasure
  1733. )with version=true;
  1734. CREATE CLASS IF NOT EXISTS CylindricalSurface : ElementarySurface (
  1735. radius double
  1736. )with version=true;
  1737. CREATE CLASS IF NOT EXISTS AlongPath : ApproachRetractStrategy (
  1738. path_xxx ToolpathList
  1739. )with version=true;
  1740. CREATE CLASS IF NOT EXISTS MachineToolRequirements : MachineTool (
  1741. number_of_tools_in_tool_magazine double,
  1742. machining MachiningCapability[?],
  1743. spindles SpindleCapability[?],
  1744. positioning PositioningCapability,
  1745. axis AxisCapability,
  1746. touch_probing MeasuringCapability,
  1747. automatically_pallet_changeable boolean
  1748. )with version=true;
  1749. CREATE CLASS IF NOT EXISTS ConicalSurface : ElementarySurface (
  1750. radius double,
  1751. semi_angle double
  1752. )with version=true;
  1753. CREATE CLASS IF NOT EXISTS PartialCircularProfile : OpenProfile (
  1754. radius_xxx TolerancedLengthMeasure,
  1755. sweep_angle double
  1756. )with version=true;
  1757. typedef if not exists ReversibleTopologyItem = morph <
  1758. Edge,
  1759. Path,
  1760. Face,
  1761. FaceBound,
  1762. ClosedShell,
  1763. OpenShell
  1764. >;
  1765. typedef if not exists Shell = morph <
  1766. OpenShell,
  1767. ClosedShell
  1768. >;
  1769. typedef if not exists TaperSelect = morph <
  1770. DiameterTaper,
  1771. AngleTaper
  1772. >;
  1773. CREATE CLASS IF NOT EXISTS Operation : Step1 (
  1774. its_toolpath ToolpathList,
  1775. its_tool_direction ToolDirection
  1776. )with version=true;
  1777. CREATE CLASS IF NOT EXISTS MachiningOperation : Operation (
  1778. its_id text,
  1779. retract_plane double,
  1780. start_point CartesianPoint,
  1781. its_tool MachiningTool,
  1782. its_technology Technology,
  1783. its_machine_functions MachineFunctions
  1784. )with version=true;
  1785. CREATE CLASS IF NOT EXISTS MillingMachiningOperation : MachiningOperation (
  1786. overcut_length double
  1787. )with version=true;
  1788. CREATE CLASS IF NOT EXISTS DrillingTypeOperation : MillingMachiningOperation (
  1789. cutting_depth double,
  1790. previous_diameter double,
  1791. dwell_time_bottom double,
  1792. feed_on_retract double,
  1793. its_machining_strategy DrillingTypeStrategy
  1794. )with version=true;
  1795. CREATE CLASS IF NOT EXISTS BoringOperation : DrillingTypeOperation (
  1796. spindle_stop_at_bottom boolean,
  1797. depth_of_testcut double,
  1798. waiting_position CartesianPoint
  1799. )with version=true;
  1800. CREATE CLASS IF NOT EXISTS Boring : BoringOperation (
  1801. )with version=true;
  1802. CREATE CLASS IF NOT EXISTS DrillingOperation : DrillingTypeOperation (
  1803. )with version=true;
  1804. CREATE CLASS IF NOT EXISTS CounterSinking : DrillingOperation (
  1805. )with version=true;
  1806. CREATE CLASS IF NOT EXISTS ManifoldSolidBrep : SolidModel (
  1807. outer ClosedShell
  1808. )with version=true;
  1809. CREATE CLASS IF NOT EXISTS FacetedBrep : ManifoldSolidBrep (
  1810. )with version=true;
  1811. CREATE CLASS IF NOT EXISTS ManufacturingFeature : Step1 (
  1812. its_id text,
  1813. its_workpiece Workpiece,
  1814. its_operations MachiningOperation[?]
  1815. )with version=true;
  1816. CREATE CLASS IF NOT EXISTS Region : ManufacturingFeature (
  1817. feature_placement Axis2Placement3d
  1818. )with version=true;
  1819. CREATE CLASS IF NOT EXISTS RegionProjection : Region (
  1820. proj_curve BoundedCurve,
  1821. proj_dir Direction,
  1822. depth TolerancedLengthMeasure
  1823. )with version=true;
  1824. CREATE CLASS IF NOT EXISTS Workingstep : Executable (
  1825. its_secplane ElementarySurface
  1826. )with version=true;
  1827. CREATE CLASS IF NOT EXISTS TouchProbing : Workingstep (
  1828. measured_offset NcVariable,
  1829. its_toolpath ToolpathList,
  1830. its_tool_direction ToolDirection
  1831. )with version=true;
  1832. CREATE CLASS IF NOT EXISTS ToolProbing : TouchProbing (
  1833. offset CartesianPoint,
  1834. max_wear double,
  1835. its_tool MachiningTool
  1836. )with version=true;
  1837. CREATE CLASS IF NOT EXISTS Tapping : DrillingTypeOperation (
  1838. compensation_chuck boolean
  1839. )with version=true;
  1840. CREATE CLASS IF NOT EXISTS Two5dManufacturingFeature : ManufacturingFeature (
  1841. feature_placement Axis2Placement3d
  1842. )with version=true;
  1843. CREATE CLASS IF NOT EXISTS MachiningFeature : Two5dManufacturingFeature (
  1844. depth ElementarySurface
  1845. )with version=true;
  1846. CREATE CLASS IF NOT EXISTS ProfileFeature : MachiningFeature (
  1847. profile_swept_shape LinearPath
  1848. )with version=true;
  1849. CREATE CLASS IF NOT EXISTS ShapeProfile : ProfileFeature (
  1850. floor_condition ProfileSelect,
  1851. removal_direction Direction
  1852. )with version=true;
  1853. CREATE CLASS IF NOT EXISTS RectangularClosedShapeProfile : ShapeProfile (
  1854. closed_boundary RectangularClosedProfile
  1855. )with version=true;
  1856. CREATE CLASS IF NOT EXISTS RectangularOpenShapeProfile : ShapeProfile (
  1857. open_boundary SquareUProfile
  1858. )with version=true;
  1859. CREATE CLASS IF NOT EXISTS ToolpathFeature : MachiningFeature (
  1860. )with version=true;
  1861. CREATE CLASS IF NOT EXISTS ToolLengthProbing : ToolProbing (
  1862. )with version=true;
  1863. CREATE CLASS IF NOT EXISTS Boss : MachiningFeature (
  1864. its_boundary ClosedProfile,
  1865. slope double
  1866. )with version=true;
  1867. CREATE CLASS IF NOT EXISTS MachinedSurface : Step1 (
  1868. its_machining_feature MachiningFeature,
  1869. surface_element BottomOrSide
  1870. )with version=true;
  1871. CREATE CLASS IF NOT EXISTS MultistepDrilling : DrillingOperation (
  1872. retract_distance double,
  1873. first_depth double,
  1874. depth_of_step double,
  1875. dwell_time_step double
  1876. )with version=true;
  1877. CREATE CLASS IF NOT EXISTS Thread : MachiningFeature (
  1878. partial_profile PartialAreaDefinition,
  1879. applied_shape MachiningFeature[?],
  1880. inner_or_outer_thread boolean,
  1881. qualifier DescriptiveParameter,
  1882. fit_class DescriptiveParameter,
  1883. form DescriptiveParameter,
  1884. major_diameter double,
  1885. number_of_threads NumericParameter,
  1886. thread_hand DescriptiveParameter
  1887. )with version=true;
  1888. CREATE CLASS IF NOT EXISTS DefinedThread : Thread (
  1889. pitch_diameter double,
  1890. minor_diameter double,
  1891. crest double
  1892. )with version=true;
  1893. CREATE CLASS IF NOT EXISTS ToolRadiusProbing : ToolProbing (
  1894. )with version=true;
  1895. CREATE CLASS IF NOT EXISTS BackBoring : DrillingTypeOperation (
  1896. )with version=true;
  1897. CREATE CLASS IF NOT EXISTS CircularClosedShapeProfile : ShapeProfile (
  1898. closed_boundary CircularClosedProfile
  1899. )with version=true;
  1900. CREATE CLASS IF NOT EXISTS MachiningWorkingstep : Workingstep (
  1901. its_feature ManufacturingFeature,
  1902. its_operation MachiningOperation,
  1903. its_effect InProcessGeometry
  1904. )with version=true;
  1905. CREATE CLASS IF NOT EXISTS TransitionFeature : ManufacturingFeature (
  1906. first_feature MachiningFeature,
  1907. second_feature MachiningFeature
  1908. )with version=true;
  1909. CREATE CLASS IF NOT EXISTS EdgeRound : TransitionFeature (
  1910. radius_xxx TolerancedLengthMeasure,
  1911. first_offset_amount TolerancedLengthMeasure,
  1912. second_offset_amount TolerancedLengthMeasure
  1913. )with version=true;
  1914. CREATE CLASS IF NOT EXISTS SphericalCap : MachiningFeature (
  1915. internal_angle NumericParameter,
  1916. radius_xxx NumericParameter
  1917. )with version=true;
  1918. CREATE CLASS IF NOT EXISTS MillingTypeOperation : MillingMachiningOperation (
  1919. approach ApproachRetractStrategy,
  1920. retract ApproachRetractStrategy
  1921. )with version=true;
  1922. CREATE CLASS IF NOT EXISTS Two5dMillingOperation : MillingTypeOperation (
  1923. its_machining_strategy Two5dMillingStrategy
  1924. )with version=true;
  1925. CREATE CLASS IF NOT EXISTS BottomAndSideMilling : Two5dMillingOperation (
  1926. axial_cutting_depth double,
  1927. radial_cutting_depth double,
  1928. allowance_side double,
  1929. allowance_bottom double
  1930. )with version=true;
  1931. CREATE CLASS IF NOT EXISTS BottomAndSideFinishMilling : BottomAndSideMilling (
  1932. )with version=true;
  1933. CREATE CLASS IF NOT EXISTS WorkpieceCompleteProbing : TouchProbing (
  1934. its_workpiece Workpiece,
  1935. probing_distance TolerancedLengthMeasure,
  1936. its_probe TouchProbe,
  1937. computed_offset OffsetVector
  1938. )with version=true;
  1939. CREATE CLASS IF NOT EXISTS GeneralOutsideProfile : ProfileFeature (
  1940. feature_boundary Profile
  1941. )with version=true;
  1942. CREATE CLASS IF NOT EXISTS PlaneMilling : Two5dMillingOperation (
  1943. axial_cutting_depth double,
  1944. allowance_bottom double
  1945. )with version=true;
  1946. CREATE CLASS IF NOT EXISTS PlaneRoughMilling : PlaneMilling (
  1947. )with version=true;
  1948. CREATE CLASS IF NOT EXISTS SideMilling : Two5dMillingOperation (
  1949. axial_cutting_depth double,
  1950. radial_cutting_depth double,
  1951. allowance_side double
  1952. )with version=true;
  1953. CREATE CLASS IF NOT EXISTS SideFinishMilling : SideMilling (
  1954. )with version=true;
  1955. CREATE CLASS IF NOT EXISTS Pocket : MachiningFeature (
  1956. its_boss Boss[?],
  1957. slope double,
  1958. bottom_condition PocketBottomCondition,
  1959. planar_radius TolerancedLengthMeasure,
  1960. orthogonal_radius TolerancedLengthMeasure
  1961. )with version=true;
  1962. CREATE CLASS IF NOT EXISTS ClosedPocket : Pocket (
  1963. feature_boundary ClosedProfile
  1964. )with version=true;
  1965. CREATE CLASS IF NOT EXISTS TImage : BoundedSurface (
  1966. faces TFace[?],
  1967. links TLink[?],
  1968. edges TEdge[?],
  1969. vertices TVertex[?]
  1970. )with version=true;
  1971. CREATE CLASS IF NOT EXISTS ProductDefinitionRelationship : Step1 (
  1972. id varchar,
  1973. name varchar,
  1974. description text,
  1975. relating_product_definition ProductDefinition,
  1976. related_product_definition ProductDefinition
  1977. )with version=true;
  1978. CREATE CLASS IF NOT EXISTS Slot : MachiningFeature (
  1979. course_of_travel TravelPath,
  1980. swept_shape OpenProfile,
  1981. end_conditions SlotEndType[?]
  1982. )with version=true;
  1983. CREATE CLASS IF NOT EXISTS PlanarProfileFloor : ProfileFloor (
  1984. floor Plane
  1985. )with version=true;
  1986. CREATE CLASS IF NOT EXISTS Reaming : BoringOperation (
  1987. )with version=true;
  1988. CREATE CLASS IF NOT EXISTS FreeformOperation : MillingTypeOperation (
  1989. its_machining_strategy FreeformStrategy
  1990. )with version=true;
  1991. CREATE CLASS IF NOT EXISTS TopologicalRegion : Region (
  1992. name varchar,
  1993. cfs_faces Face[?]
  1994. )with version=true;
  1995. CREATE CLASS IF NOT EXISTS OpenPocket : Pocket (
  1996. open_boundary OpenProfile,
  1997. wall_boundary OpenProfile
  1998. )with version=true;
  1999. CREATE CLASS IF NOT EXISTS Drilling : DrillingOperation (
  2000. )with version=true;
  2001. CREATE CLASS IF NOT EXISTS CenterDrilling : DrillingOperation (
  2002. )with version=true;
  2003. CREATE CLASS IF NOT EXISTS SurfaceTextureParameter : Step1 (
  2004. its_value double,
  2005. parameter_name text,
  2006. measuring_method text,
  2007. parameter_index text,
  2008. applied_surfaces MachinedSurface[?]
  2009. )with version=true;
  2010. CREATE CLASS IF NOT EXISTS Step1 : MachiningFeature (
  2011. open_boundary LinearPath,
  2012. wall_boundary VeeProfile,
  2013. its_boss Boss[?]
  2014. )with version=true;
  2015. CREATE CLASS IF NOT EXISTS ThreadDrilling : DrillingTypeOperation (
  2016. helical_movement_on_forward boolean
  2017. )with version=true;
  2018. CREATE CLASS IF NOT EXISTS ReplicateFeature : Two5dManufacturingFeature (
  2019. replicate_base_feature Two5dManufacturingFeature
  2020. )with version=true;
  2021. CREATE CLASS IF NOT EXISTS CircularPattern : ReplicateFeature (
  2022. angle_increment double,
  2023. number_of_feature int,
  2024. relocated_base_feature CircularOffset[?],
  2025. missing_base_feature CircularOmit[?],
  2026. base_feature_diameter TolerancedLengthMeasure,
  2027. base_feature_rotation double
  2028. )with version=true;
  2029. CREATE CLASS IF NOT EXISTS GeneralPocketBottomCondition : PocketBottomCondition (
  2030. shape Region
  2031. )with version=true;
  2032. CREATE CLASS IF NOT EXISTS CatalogueThread : Thread (
  2033. documentation Specification
  2034. )with version=true;
  2035. CREATE CLASS IF NOT EXISTS RapidMovement : Workingstep (
  2036. its_toolpath ToolpathList,
  2037. its_tool_direction ToolDirection
  2038. )with version=true;
  2039. CREATE CLASS IF NOT EXISTS RoundHole : MachiningFeature (
  2040. diameter_xxx TolerancedLengthMeasure,
  2041. change_in_diameter TaperSelect,
  2042. bottom_condition HoleBottomCondition
  2043. )with version=true;
  2044. CREATE CLASS IF NOT EXISTS TSplineSurface : BoundedSurface (
  2045. s_degree int,
  2046. t_degree int,
  2047. force_bezier_end_condition boolean,
  2048. image TImage,
  2049. connect TConnect,
  2050. pointset TPointset
  2051. )with version=true;
  2052. CREATE CLASS IF NOT EXISTS WorkpieceProbing : TouchProbing (
  2053. start_position Axis2Placement3d,
  2054. its_workpiece Workpiece,
  2055. its_direction_xxx Direction,
  2056. expected_value TolerancedLengthMeasure,
  2057. its_probe TouchProbe
  2058. )with version=true;
  2059. CREATE CLASS IF NOT EXISTS RoundedEnd : MachiningFeature (
  2060. course_of_travel LinearPath,
  2061. partial_circular_boundary PartialCircularProfile
  2062. )with version=true;
  2063. CREATE CLASS IF NOT EXISTS Setup : Step1 (
  2064. its_id text,
  2065. its_origin Axis2Placement3d,
  2066. its_secplane ElementarySurface,
  2067. its_workpiece_setup WorkpieceSetup[?]
  2068. )with version=true;
  2069. CREATE CLASS IF NOT EXISTS PlanarFace : MachiningFeature (
  2070. course_of_travel LinearPath,
  2071. removal_boundary LinearProfile,
  2072. face_boundary ClosedProfile,
  2073. its_boss Boss[?]
  2074. )with version=true;
  2075. CREATE CLASS IF NOT EXISTS PartialCircularShapeProfile : ShapeProfile (
  2076. open_boundary PartialCircularProfile
  2077. )with version=true;
  2078. CREATE CLASS IF NOT EXISTS ReturnHome : RapidMovement (
  2079. )with version=true;
  2080. CREATE CLASS IF NOT EXISTS RegionSurfaceList : Region (
  2081. surface_list BoundedSurface[?]
  2082. )with version=true;
  2083. CREATE CLASS IF NOT EXISTS Chamfer : TransitionFeature (
  2084. angle_to_plane double,
  2085. first_offset_amount TolerancedLengthMeasure
  2086. )with version=true;
  2087. CREATE CLASS IF NOT EXISTS SideRoughMilling : SideMilling (
  2088. )with version=true;
  2089. CREATE CLASS IF NOT EXISTS PlaneFinishMilling : PlaneMilling (
  2090. )with version=true;
  2091. CREATE CLASS IF NOT EXISTS RectangularPattern : ReplicateFeature (
  2092. spacing TolerancedLengthMeasure,
  2093. its_direction_xxx Direction,
  2094. number_of_rows int,
  2095. number_of_columns int,
  2096. row_spacing TolerancedLengthMeasure,
  2097. row_layout_direction Direction,
  2098. relocated_base_feature RectangularOffset[?],
  2099. missing_base_feature RectangularOmit[?]
  2100. )with version=true;
  2101. CREATE CLASS IF NOT EXISTS GeneralShapeProfile : ShapeProfile (
  2102. profile_boundary Profile
  2103. )with version=true;
  2104. CREATE CLASS IF NOT EXISTS BottomAndSideRoughMilling : BottomAndSideMilling (
  2105. )with version=true;
  2106. CREATE CLASS IF NOT EXISTS GeneralPattern : ReplicateFeature (
  2107. replicate_locations Axis2Placement3d[?]
  2108. )with version=true;
  2109. typedef if not exists CharacterizedProductDefinition = morph <
  2110. ProductDefinition,
  2111. ProductDefinitionRelationship
  2112. >;
  2113. typedef if not exists CompoundFeatureSelect = morph <
  2114. MachiningFeature,
  2115. TransitionFeature
  2116. >;
  2117. CREATE CLASS IF NOT EXISTS Workplan : ProgramStructure (
  2118. its_elements Executable[?],
  2119. its_channel Channel,
  2120. its_setup Setup,
  2121. its_effect InProcessGeometry
  2122. )with version=true;
  2123. CREATE CLASS IF NOT EXISTS CompoundFeature : Two5dManufacturingFeature (
  2124. elements CompoundFeatureSelect[?]
  2125. )with version=true;
  2126. CREATE CLASS IF NOT EXISTS CountersunkHole : CompoundFeature (
  2127. )with version=true;
  2128. CREATE CLASS IF NOT EXISTS WorkplanPhysicalResourceAssociation : Step1 (
  2129. workplan_of_resource Workplan,
  2130. physical_resource MachineToolRequirements
  2131. )with version=true;
  2132. CREATE CLASS IF NOT EXISTS Project : Step1 (
  2133. its_id text,
  2134. main_workplan Workplan,
  2135. its_workpieces Workpiece[?],
  2136. its_owner PersonAndAddress,
  2137. its_release DateAndTime,
  2138. its_status Approval
  2139. )with version=true;
  2140. CREATE CLASS IF NOT EXISTS CounterboreHole : CompoundFeature (
  2141. )with version=true;
  2142. CREATE CLASS IF NOT EXISTS ProjectPhysicalResourceAssociation : Step1 (
  2143. project_of_resource Project,
  2144. physical_resource MachineToolRequirements
  2145. )with version=true;
  2146. typedef if not exists ShapeDefinition = morph <
  2147. ProductDefinitionShape,
  2148. ShapeAspect,
  2149. ShapeAspectRelationship
  2150. >;
  2151. typedef if not exists CharacterizedDefinition = morph <
  2152. CharacterizedObject,
  2153. CharacterizedProductDefinition,
  2154. ShapeDefinition
  2155. >;
  2156. typedef if not exists ReversibleTopology = morph <
  2157. ReversibleTopologyItem,
  2158. ListOfReversibleTopologyItem,
  2159. SetOfReversibleTopologyItem
  2160. >;
  2161. CREATE CLASS IF NOT EXISTS PropertyDefinition : Step1 (
  2162. name varchar,
  2163. description text,
  2164. definition CharacterizedDefinition
  2165. )with version=true;
  2166. CREATE CLASS IF NOT EXISTS KinematicPropertyDefinition : PropertyDefinition (
  2167. ground_definition CharacterizedDefinition
  2168. )with version=true;
  2169. CREATE CLASS IF NOT EXISTS Mechanism : Step1 (
  2170. structure_definition KinematicStructure,
  2171. base KinematicLink,
  2172. containing_property KinematicPropertyDefinition
  2173. )with version=true;
  2174. CREATE CLASS IF NOT EXISTS MachineKinematicAssociation : Step1 (
  2175. machine MachineToolSpecification,
  2176. kinematics Mechanism
  2177. )with version=true;
  2178. CREATE CLASS IF NOT EXISTS ProductDefinitionShape : PropertyDefinition (
  2179. )with version=true;
  2180. CREATE CLASS IF NOT EXISTS ShapeAspect : Step1 (
  2181. name varchar,
  2182. description text,
  2183. of_shape ProductDefinitionShape,
  2184. product_definitional Logical
  2185. )with version=true;
  2186. CREATE CLASS IF NOT EXISTS ShapeAspectRelationship : Step1 (
  2187. name varchar,
  2188. description text,
  2189. relating_shape_aspect ShapeAspect,
  2190. related_shape_aspect ShapeAspect
  2191. )with version=true;