- Define a parametric assembly based on examples
601-612. - Goal 1: Ensure at least 20 parts are independently buildable (ie. there are trajectories for all).
- Goal 2: Ensure at least 20 parts are buildable taking into account previously built parts.
- Copy examples
601-612into your assignment folder. - Use example
601_assembly_design.ghxto design a new parametric assembly. - Use examples
61xto assign a sequence to the assembly. - Use example
603_assembly_planning.pyto plan all parts. - Use example
605_viewer.ghxfor visual inspection of the solutions. - Your will end up with 3 JSON files:
601_assembly_design.json,602_assembly_sequenced.jsonand603_assembly_planning.json. - Commit all the files in your assignment folder (Python, GH and JSON).
NOTE: The command line instructions for git can be replaced by visual clients such as Github Desktop or VS Code git integration, there are here only as guidance.
-
You should have forked this repository last week, if not, check assignment submission instructions in lecture 02.
-
Make sure your local clone is up to date
(fs2022) git checkout main (fs2022) git pull origin -
Use a branch called
assignment-04for this week's assignment(fs2022) git checkout -b assignment-04 (fs2022) git push -u assignments assignment-04 -
Create a folder with your name and last name, eg.
david_bowie(make sure it is inside the current assignment folder) -
Copy examples
601-612into the folder created above and use it as starting point code. -
Solve the assignment and commit all the files in your assignment folder (Python, GH and JSON).
(How do I commit?)
Usually, commits are done from a visual client or VS code, but you can also commit your changes from the command line:
(fs2022) git add lecture_07/assignment_04/david_bowie/\* && git commit -m "hello world" -
Once you're ready to submit, push the changes:
(fs2022) git push assignments -
And create a pull request (What's a pull request?)
- Open your browser and go to your fork
- Create the pull request clicking
Compare & pull requestand follow the instructions

