BREP_INTERSECT(nged)

Intersect components of specified BRep solids.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… BREP INTERSECT (nged) πŸ’…

ok so bestie, this is a page from the BRL-CAD MGED User Commands manual β€” the nged fam β€” and it's all about the brep intersect command. buckle up, it's niche but it's lowkey iconic πŸŽ€


✨ NAME ✨

brep intersect β€” intersect the components of whatever BRep solids you point it at, no cap 🫢


🌸 SYNOPSIS 🌸

brep {obj} intersect {obj2} {i} {j} [PP|PC|PS|CC|CS|SS]

πŸ¦‹ DESCRIPTION πŸ¦‹

These are the low-level routines that do the actual intersecting of elements of BRep solids, plus the visualization of what comes out the other side. it's giving backstage pass energy πŸ’…

So basically you're visualizing the intersection of two BREP objects. The last argument is the vibe check: it says which portions of each object you want to intersect. and if you just... don't pass it? it defaults to SS. that's it, that's the whole thing ✨

Here's the whole menu, one by one:

  • PP β€” intersect a point from the first object with a point from the second 🌸
  • PC β€” intersect a point from the first object with a curve from the second πŸŽ€
  • PS β€” intersect a point from the first object with a surface from the second ⭐
  • CC β€” intersect a curve from the first object with a curve from of the second πŸ’œ (yes, "from of" β€” that's the original's wording and we're keeping it, don't come for me)
  • CS β€” intersect a curve from the first object with a surface from the second πŸ¦‹
  • SS β€” intersect a surface from the first object with a surface from the second πŸ”₯
default is SS if you skip the argument. iykyk πŸ™ˆ

🌈 EXAMPLES 🌈

Example 1. visualizing a surface/surface intersection, the main character of this page πŸ‘‘

mged> brep hull.brep intersect cutter.brep 0 0 SS

that intersects surface 0 from hull.brep with surface 0 from cutter.brep, and then draws the resulting intersection curves. slay πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

BRLCAD-TEAM β€” periodt πŸ’–


πŸ’€ BUG REPORTS πŸ’€

found a bug? a problem? something cursed? don't suffer in silence, bestie β€” email it to devs@brlcad.org and the team will handle it 🫢


and that's the whole page! source/version: BRL-CAD, brought to you by the nged girlies β€” mwah πŸ’‹βœ¨πŸŽ€

πŸ“¦ where this page comes from