4_step.mql 100 KB

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