Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JITX-5813/revert-esir-changes #436

Merged
merged 2 commits into from
Aug 23, 2023
Merged

Conversation

erwin-lau
Copy link
Contributor

@erwin-lau erwin-lau commented Aug 23, 2023

Changes

  • remove comments and model3d-id from ESIR
  • properly separate out the model3d-id for use in code-generator
  • tested with parts-db-collection="test-pat"

Note

  • OCDB has to precede the next bigger change in explorer

@linear
Copy link

linear bot commented Aug 23, 2023

JITX-5813 Add 3D models to "Create component"

When the user clicks "Create component":

  • Fetch 3d models from jit-backend using manufacturer/mpn
  • Add 3d model code to generated Stanza

When a user exports to Kicad, they should be able to see the 3d models rendered.

@@ -1003,7 +1010,7 @@ defn to-jitx (lp: LandPatternCode, jitx-pads-by-pcb-pad-name: HashTable<String,

do(to-jitx, layers(lp))
do(to-jitx, geometries(lp))
do(to-jitx, model3ds(lp))
do(to-jitx{model3d(_)}, model3ds(lp))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually added function composition to lang-utils 4 months ago to allow for do(to-jitx * model3d, model3ds(lp))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You got me

@erwin-lau erwin-lau merged commit fd6feaa into main Aug 23, 2023
1 check passed
@erwin-lau erwin-lau deleted the JITX-5813/revert-esir-changes branch August 23, 2023 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants