Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

1.2 KB
Raw Blame
// Shared named body boundary; no authored spline control cage.
Static landmarks: Set<Point2> {
  Tail => Point2(0mm, -220mm)
  TrebleWaist => Point2(105mm, 28mm)
  Horn => Point2(113mm, 160mm)
  NeckSeat => Point2(28mm, 204mm)
  BassShoulder => Point2(-111mm, 174mm)
  BassWaist => Point2(-95mm, 40mm)
}
Concept Struct bodyLayout {
  Polygon2<Explicit> scaffold { vertices: landmarks }
}
Profile BodyOutline using bodyLayout {
  from: scaffold
  Replace LowerTreble {
    on: scaffold.Tail_TrebleWaist
    through: [[115mm, -195mm], [168mm, -115mm], [148mm, -35mm]]
    derivatives: Periodic
  }
  Replace HornRise {
    on: scaffold.TrebleWaist_Horn
    through: [[118mm, 95mm], [124mm, 140mm]]
    derivatives: Periodic
  }
  Replace Cutaway {
    on: scaffold.Horn_NeckSeat
    through: [[91mm, 142mm], [48mm, 137mm]]
    derivatives: Periodic
  }
  Replace Shoulder {
    on: scaffold.NeckSeat_BassShoulder
    through: [[-42mm, 205mm]]
    derivatives: Periodic
  }
  Replace UpperBass {
    on: scaffold.BassShoulder_BassWaist
    through: [[-119mm, 115mm]]
    derivatives: Periodic
  }
  Replace LowerBass {
    on: scaffold.BassWaist_Tail
    through: [[-137mm, -32mm], [-168mm, -115mm], [-115mm, -195mm]]
    derivatives: Periodic
  }
}