Copy assets into objects/
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +42 -0
- objects/kit_popup_toaster-601cdfbaa4--00003/object.urdf +118 -0
- objects/kit_popup_toaster-601cdfbaa4--00003/object.usdz +3 -0
- objects/kit_popup_toaster-601cdfbaa4--00003/parts/fixed.glb +3 -0
- objects/kit_popup_toaster-601cdfbaa4--00003/parts/left_button.glb +0 -0
- objects/kit_popup_toaster-601cdfbaa4--00003/parts/left_carriage.glb +3 -0
- objects/kit_popup_toaster-601cdfbaa4--00003/parts/left_handle.glb +3 -0
- objects/kit_popup_toaster-601cdfbaa4--00003/parts/right_button.glb +0 -0
- objects/kit_popup_toaster-601cdfbaa4--00003/parts/right_carriage.glb +3 -0
- objects/kit_popup_toaster-601cdfbaa4--00003/parts/right_handle.glb +3 -0
- objects/kit_popup_toaster-601cdfbaa4--00003/parts/tray.glb +3 -0
- objects/kit_popup_toaster-601cdfbaa4--00003/renders/front.png +3 -0
- objects/kit_popup_toaster-601cdfbaa4--00003/renders/isometric.png +3 -0
- objects/kit_popup_toaster-601cdfbaa4--00003/renders/side.png +3 -0
- objects/kit_popup_toaster-601cdfbaa4--00003/renders/top.png +3 -0
- objects/kit_popup_toaster-601cdfbaa4--00003/static.py +229 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/articulation.blend +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/articulation.json +0 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/meta.json +15 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/object.glb +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/object.urdf +41 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/object.usdz +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/parts/fixed_stand.glb +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/parts/impeller.glb +0 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/parts/tilting_head.glb +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/renders/front.png +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/renders/isometric.png +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/renders/side.png +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/renders/top.png +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/static.py +233 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/articulation.blend +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/articulation.json +0 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/meta.json +15 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/object.glb +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/object.urdf +41 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/object.usdz +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/parts/blower.glb +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/parts/body.glb +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/parts/filter_link.glb +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/renders/front.png +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/renders/isometric.png +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/renders/side.png +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/renders/top.png +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/static.py +216 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/articulation.blend +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/articulation.json +0 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/meta.json +15 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/object.glb +3 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/object.urdf +26 -0
- objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/object.usdz +3 -0
.gitattributes
CHANGED
|
@@ -16090,3 +16090,45 @@ objects/kit_popup_toaster-601cdfbaa4--00002/parts/lever.glb filter=lfs diff=lfs
|
|
| 16090 |
objects/kit_popup_toaster-601cdfbaa4--00002/parts/tray.glb filter=lfs diff=lfs merge=lfs -text
|
| 16091 |
objects/kit_popup_toaster-601cdfbaa4--00003/articulation.blend filter=lfs diff=lfs merge=lfs -text
|
| 16092 |
objects/kit_popup_toaster-601cdfbaa4--00003/object.glb filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16090 |
objects/kit_popup_toaster-601cdfbaa4--00002/parts/tray.glb filter=lfs diff=lfs merge=lfs -text
|
| 16091 |
objects/kit_popup_toaster-601cdfbaa4--00003/articulation.blend filter=lfs diff=lfs merge=lfs -text
|
| 16092 |
objects/kit_popup_toaster-601cdfbaa4--00003/object.glb filter=lfs diff=lfs merge=lfs -text
|
| 16093 |
+
objects/kit_popup_toaster-601cdfbaa4--00003/object.usdz filter=lfs diff=lfs merge=lfs -text
|
| 16094 |
+
objects/kit_popup_toaster-601cdfbaa4--00003/parts/fixed.glb filter=lfs diff=lfs merge=lfs -text
|
| 16095 |
+
objects/kit_popup_toaster-601cdfbaa4--00003/parts/left_carriage.glb filter=lfs diff=lfs merge=lfs -text
|
| 16096 |
+
objects/kit_popup_toaster-601cdfbaa4--00003/parts/left_handle.glb filter=lfs diff=lfs merge=lfs -text
|
| 16097 |
+
objects/kit_popup_toaster-601cdfbaa4--00003/parts/right_carriage.glb filter=lfs diff=lfs merge=lfs -text
|
| 16098 |
+
objects/kit_popup_toaster-601cdfbaa4--00003/parts/right_handle.glb filter=lfs diff=lfs merge=lfs -text
|
| 16099 |
+
objects/kit_popup_toaster-601cdfbaa4--00003/parts/tray.glb filter=lfs diff=lfs merge=lfs -text
|
| 16100 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/articulation.blend filter=lfs diff=lfs merge=lfs -text
|
| 16101 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/object.glb filter=lfs diff=lfs merge=lfs -text
|
| 16102 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/object.usdz filter=lfs diff=lfs merge=lfs -text
|
| 16103 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/parts/fixed_stand.glb filter=lfs diff=lfs merge=lfs -text
|
| 16104 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/parts/tilting_head.glb filter=lfs diff=lfs merge=lfs -text
|
| 16105 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/articulation.blend filter=lfs diff=lfs merge=lfs -text
|
| 16106 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/object.glb filter=lfs diff=lfs merge=lfs -text
|
| 16107 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/object.usdz filter=lfs diff=lfs merge=lfs -text
|
| 16108 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/parts/blower.glb filter=lfs diff=lfs merge=lfs -text
|
| 16109 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/parts/body.glb filter=lfs diff=lfs merge=lfs -text
|
| 16110 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/parts/filter_link.glb filter=lfs diff=lfs merge=lfs -text
|
| 16111 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/articulation.blend filter=lfs diff=lfs merge=lfs -text
|
| 16112 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/object.glb filter=lfs diff=lfs merge=lfs -text
|
| 16113 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/object.usdz filter=lfs diff=lfs merge=lfs -text
|
| 16114 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/parts/stationary_base.glb filter=lfs diff=lfs merge=lfs -text
|
| 16115 |
+
objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/parts/tilting_head.glb filter=lfs diff=lfs merge=lfs -text
|
| 16116 |
+
objects/kit_potato_ricer-92adb1584f--00001/articulation.blend filter=lfs diff=lfs merge=lfs -text
|
| 16117 |
+
objects/kit_potato_ricer-92adb1584f--00001/object.glb filter=lfs diff=lfs merge=lfs -text
|
| 16118 |
+
objects/kit_potato_ricer-92adb1584f--00001/object.usdz filter=lfs diff=lfs merge=lfs -text
|
| 16119 |
+
objects/kit_potato_ricer-92adb1584f--00001/parts/body.glb filter=lfs diff=lfs merge=lfs -text
|
| 16120 |
+
objects/kit_potato_ricer-92adb1584f--00001/parts/lever.glb filter=lfs diff=lfs merge=lfs -text
|
| 16121 |
+
objects/kit_potato_ricer-92adb1584f--00001/parts/plate.glb filter=lfs diff=lfs merge=lfs -text
|
| 16122 |
+
objects/kit_potato_ricer-92adb1584f--00005/articulation.blend filter=lfs diff=lfs merge=lfs -text
|
| 16123 |
+
objects/kit_potato_ricer-92adb1584f--00005/object.glb filter=lfs diff=lfs merge=lfs -text
|
| 16124 |
+
objects/kit_potato_ricer-92adb1584f--00005/object.usdz filter=lfs diff=lfs merge=lfs -text
|
| 16125 |
+
objects/kit_potato_ricer-92adb1584f--00005/parts/basket_assembly.glb filter=lfs diff=lfs merge=lfs -text
|
| 16126 |
+
objects/kit_potato_ricer-92adb1584f--00005/parts/press_assembly.glb filter=lfs diff=lfs merge=lfs -text
|
| 16127 |
+
objects/kit_potato_ricer-92adb1584f--00006/articulation.blend filter=lfs diff=lfs merge=lfs -text
|
| 16128 |
+
objects/kit_potato_ricer-92adb1584f--00006/object.glb filter=lfs diff=lfs merge=lfs -text
|
| 16129 |
+
objects/kit_potato_ricer-92adb1584f--00006/object.usdz filter=lfs diff=lfs merge=lfs -text
|
| 16130 |
+
objects/kit_potato_ricer-92adb1584f--00006/parts/fixed.glb filter=lfs diff=lfs merge=lfs -text
|
| 16131 |
+
objects/kit_potato_ricer-92adb1584f--00006/parts/lever.glb filter=lfs diff=lfs merge=lfs -text
|
| 16132 |
+
objects/kit_potato_ricer-92adb1584f--00006/parts/presser.glb filter=lfs diff=lfs merge=lfs -text
|
| 16133 |
+
objects/kit_potato_ricer-92adb1584f--00006/parts/selector.glb filter=lfs diff=lfs merge=lfs -text
|
| 16134 |
+
objects/kit_powered_bottle_brush-249e54902d--00001/articulation.blend filter=lfs diff=lfs merge=lfs -text
|
objects/kit_popup_toaster-601cdfbaa4--00003/object.urdf
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version='1.0' encoding='utf-8'?>
|
| 2 |
+
<robot name="source_motion_hypothesis">
|
| 3 |
+
<link name="fixed">
|
| 4 |
+
<visual>
|
| 5 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 6 |
+
<geometry>
|
| 7 |
+
<mesh filename="parts/fixed.glb" />
|
| 8 |
+
</geometry>
|
| 9 |
+
</visual>
|
| 10 |
+
</link>
|
| 11 |
+
<link name="left_handle">
|
| 12 |
+
<visual>
|
| 13 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 14 |
+
<geometry>
|
| 15 |
+
<mesh filename="parts/left_handle.glb" />
|
| 16 |
+
</geometry>
|
| 17 |
+
</visual>
|
| 18 |
+
</link>
|
| 19 |
+
<link name="right_handle">
|
| 20 |
+
<visual>
|
| 21 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 22 |
+
<geometry>
|
| 23 |
+
<mesh filename="parts/right_handle.glb" />
|
| 24 |
+
</geometry>
|
| 25 |
+
</visual>
|
| 26 |
+
</link>
|
| 27 |
+
<link name="left_carriage">
|
| 28 |
+
<visual>
|
| 29 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 30 |
+
<geometry>
|
| 31 |
+
<mesh filename="parts/left_carriage.glb" />
|
| 32 |
+
</geometry>
|
| 33 |
+
</visual>
|
| 34 |
+
</link>
|
| 35 |
+
<link name="right_carriage">
|
| 36 |
+
<visual>
|
| 37 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 38 |
+
<geometry>
|
| 39 |
+
<mesh filename="parts/right_carriage.glb" />
|
| 40 |
+
</geometry>
|
| 41 |
+
</visual>
|
| 42 |
+
</link>
|
| 43 |
+
<link name="tray">
|
| 44 |
+
<visual>
|
| 45 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 46 |
+
<geometry>
|
| 47 |
+
<mesh filename="parts/tray.glb" />
|
| 48 |
+
</geometry>
|
| 49 |
+
</visual>
|
| 50 |
+
</link>
|
| 51 |
+
<link name="left_button">
|
| 52 |
+
<visual>
|
| 53 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 54 |
+
<geometry>
|
| 55 |
+
<mesh filename="parts/left_button.glb" />
|
| 56 |
+
</geometry>
|
| 57 |
+
</visual>
|
| 58 |
+
</link>
|
| 59 |
+
<link name="right_button">
|
| 60 |
+
<visual>
|
| 61 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 62 |
+
<geometry>
|
| 63 |
+
<mesh filename="parts/right_button.glb" />
|
| 64 |
+
</geometry>
|
| 65 |
+
</visual>
|
| 66 |
+
</link>
|
| 67 |
+
<joint name="left_lift" type="prismatic">
|
| 68 |
+
<parent link="fixed" />
|
| 69 |
+
<child link="left_handle" />
|
| 70 |
+
<origin xyz="-0.0725 -0.1275 0.213" rpy="0.0 0.0 0.0" />
|
| 71 |
+
<axis xyz="0.0 0.0 -1.0" />
|
| 72 |
+
<limit lower="0.0" upper="0.08" effort="0.0" velocity="0.0" />
|
| 73 |
+
</joint>
|
| 74 |
+
<joint name="right_lift" type="prismatic">
|
| 75 |
+
<parent link="fixed" />
|
| 76 |
+
<child link="right_handle" />
|
| 77 |
+
<origin xyz="0.0725 -0.1275 0.213" rpy="0.0 0.0 0.0" />
|
| 78 |
+
<axis xyz="0.0 0.0 -1.0" />
|
| 79 |
+
<limit lower="0.0" upper="0.08" effort="0.0" velocity="0.0" />
|
| 80 |
+
</joint>
|
| 81 |
+
<joint name="left_supports" type="prismatic">
|
| 82 |
+
<parent link="fixed" />
|
| 83 |
+
<child link="left_carriage" />
|
| 84 |
+
<origin xyz="-0.0725 -0.091 0.169" rpy="0.0 0.0 0.0" />
|
| 85 |
+
<axis xyz="0.0 0.0 -1.0" />
|
| 86 |
+
<limit lower="0.0" upper="0.08" effort="0.0" velocity="0.0" />
|
| 87 |
+
<mimic joint="left_lift" multiplier="1.0" offset="0.0" />
|
| 88 |
+
</joint>
|
| 89 |
+
<joint name="right_supports" type="prismatic">
|
| 90 |
+
<parent link="fixed" />
|
| 91 |
+
<child link="right_carriage" />
|
| 92 |
+
<origin xyz="0.0725 -0.091 0.169" rpy="0.0 0.0 0.0" />
|
| 93 |
+
<axis xyz="0.0 0.0 -1.0" />
|
| 94 |
+
<limit lower="0.0" upper="0.08" effort="0.0" velocity="0.0" />
|
| 95 |
+
<mimic joint="right_lift" multiplier="1.0" offset="0.0" />
|
| 96 |
+
</joint>
|
| 97 |
+
<joint name="crumb_tray_pull" type="prismatic">
|
| 98 |
+
<parent link="fixed" />
|
| 99 |
+
<child link="tray" />
|
| 100 |
+
<origin xyz="0.0 -0.1324999928 0.0340000018" rpy="0.0 0.0 0.0" />
|
| 101 |
+
<axis xyz="0.0 -1.0 0.0" />
|
| 102 |
+
<limit lower="0.0" upper="0.22" effort="0.0" velocity="0.0" />
|
| 103 |
+
</joint>
|
| 104 |
+
<joint name="left_button_press" type="prismatic">
|
| 105 |
+
<parent link="fixed" />
|
| 106 |
+
<child link="left_button" />
|
| 107 |
+
<origin xyz="-0.0725 -0.1315 0.094" rpy="0.0 0.0 0.0" />
|
| 108 |
+
<axis xyz="0.0 1.0 0.0" />
|
| 109 |
+
<limit lower="0.0" upper="0.002" effort="0.0" velocity="0.0" />
|
| 110 |
+
</joint>
|
| 111 |
+
<joint name="right_button_press" type="prismatic">
|
| 112 |
+
<parent link="fixed" />
|
| 113 |
+
<child link="right_button" />
|
| 114 |
+
<origin xyz="0.0725 -0.1315 0.094" rpy="0.0 0.0 0.0" />
|
| 115 |
+
<axis xyz="0.0 1.0 0.0" />
|
| 116 |
+
<limit lower="0.0" upper="0.002" effort="0.0" velocity="0.0" />
|
| 117 |
+
</joint>
|
| 118 |
+
</robot>
|
objects/kit_popup_toaster-601cdfbaa4--00003/object.usdz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:218487a2980825f90eb5ff21a51a97894d4bec7808220775526865d10c94840d
|
| 3 |
+
size 25251160
|
objects/kit_popup_toaster-601cdfbaa4--00003/parts/fixed.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0eff583f7311f64e004cdbcb779717ab7c434ac3d367f85f9ea70eace1d3fe4
|
| 3 |
+
size 22200300
|
objects/kit_popup_toaster-601cdfbaa4--00003/parts/left_button.glb
ADDED
|
Binary file (36.5 kB). View file
|
|
|
objects/kit_popup_toaster-601cdfbaa4--00003/parts/left_carriage.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17f16faee489e528f94621ac964df9d4dcd472a0248d3028670dd976b680694a
|
| 3 |
+
size 19628100
|
objects/kit_popup_toaster-601cdfbaa4--00003/parts/left_handle.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40700a1843b6625e33666bc8a0ea5ac16a170edd5710b3cfabc4d6ebcf52f354
|
| 3 |
+
size 19397872
|
objects/kit_popup_toaster-601cdfbaa4--00003/parts/right_button.glb
ADDED
|
Binary file (36.6 kB). View file
|
|
|
objects/kit_popup_toaster-601cdfbaa4--00003/parts/right_carriage.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f319f687bef5183f5f9db0c015af82ecafcfebe6a5311b6b360e6861be767cf
|
| 3 |
+
size 19628104
|
objects/kit_popup_toaster-601cdfbaa4--00003/parts/right_handle.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d341f8da8bc494cb29fad6b765d768cbd53adff574527fe96773410cc1e87c20
|
| 3 |
+
size 19397876
|
objects/kit_popup_toaster-601cdfbaa4--00003/parts/tray.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96ad8c097515d2b6d1088de8abcb9145abe116e3b2f05cf952fad459f6562ab4
|
| 3 |
+
size 19368188
|
objects/kit_popup_toaster-601cdfbaa4--00003/renders/front.png
ADDED
|
Git LFS Details
|
objects/kit_popup_toaster-601cdfbaa4--00003/renders/isometric.png
ADDED
|
Git LFS Details
|
objects/kit_popup_toaster-601cdfbaa4--00003/renders/side.png
ADDED
|
Git LFS Details
|
objects/kit_popup_toaster-601cdfbaa4--00003/renders/top.png
ADDED
|
Git LFS Details
|
objects/kit_popup_toaster-601cdfbaa4--00003/static.py
ADDED
|
@@ -0,0 +1,229 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import bpy
|
| 2 |
+
import math
|
| 3 |
+
from mathutils import Vector
|
| 4 |
+
|
| 5 |
+
PROVENANCE_TIERS = {'chassis':'observed', 'lift_left':'observed', 'lift_right':'observed', 'button_left':'observed', 'button_right':'observed', 'crumb_tray':'observed', 'carriage_left':'inferred', 'carriage_right':'inferred', 'tray_housing':'inferred', 'tray_pan':'inferred', 'chassis_floor':'inferred', 'button_socket_L':'inferred', 'button_socket_R':'inferred', 'guide_rail_L':'inferred', 'guide_rail_R':'inferred', 'vent_backing_-1':'inferred', 'vent_backing_1':'inferred'}
|
| 6 |
+
SHELL_WALL = 0.0015
|
| 7 |
+
TRAY_WALL = 0.001
|
| 8 |
+
SLOT_X = [-0.106, -0.039, 0.039, 0.106]
|
| 9 |
+
|
| 10 |
+
def metal(name, dark=False, top=False):
|
| 11 |
+
m = build_principled_material(name, base_color=(0.40,0.405,0.40,1) if not dark else (0.19,0.185,0.17,1), metallic=0.92, roughness=0.29 if not dark else 0.4)
|
| 12 |
+
nt=m.node_tree
|
| 13 |
+
p=nt.nodes.get('Principled BSDF')
|
| 14 |
+
p.inputs['Anisotropic'].default_value=0.35
|
| 15 |
+
tex=nt.nodes.new('ShaderNodeTexNoise'); tex.inputs['Scale'].default_value=1.0; tex.inputs['Detail'].default_value=2.0
|
| 16 |
+
tc=nt.nodes.new('ShaderNodeTexCoord'); vm=nt.nodes.new('ShaderNodeVectorMath'); vm.operation='MULTIPLY'; vm.inputs[1].default_value=(8,2200,8) if top else (8,8,2200)
|
| 17 |
+
nt.links.new(tc.outputs['Generated'],vm.inputs[0]); nt.links.new(vm.outputs['Vector'],tex.inputs['Vector'])
|
| 18 |
+
ramp=nt.nodes.new('ShaderNodeValToRGB'); ramp.color_ramp.elements[0].position=0.15; ramp.color_ramp.elements[0].color=(0.23,0.235,0.23,1) if not dark else (0.10,0.095,0.085,1); ramp.color_ramp.elements[1].position=0.85; ramp.color_ramp.elements[1].color=(0.53,0.54,0.53,1) if not dark else (0.25,0.24,0.21,1)
|
| 19 |
+
nt.links.new(tex.outputs['Fac'],ramp.inputs[0]); nt.links.new(ramp.outputs[0],p.inputs['Base Color'])
|
| 20 |
+
bump=nt.nodes.new('ShaderNodeBump'); bump.inputs['Strength'].default_value=0.13; bump.inputs['Distance'].default_value=0.000025; nt.links.new(tex.outputs['Fac'],bump.inputs['Height']); nt.links.new(bump.outputs[0],p.inputs['Normal'])
|
| 21 |
+
return m
|
| 22 |
+
|
| 23 |
+
def black(name):
|
| 24 |
+
m=build_principled_material(name, base_color=(0.008,0.009,0.008,1), roughness=0.43)
|
| 25 |
+
m.node_tree.nodes.get('Principled BSDF').inputs['Specular IOR Level'].default_value=0.24
|
| 26 |
+
return m
|
| 27 |
+
|
| 28 |
+
def mesh_obj(name, verts, faces, mat):
|
| 29 |
+
me=bpy.data.meshes.new(name+'_mesh'); me.from_pydata(verts,[],faces); me.update()
|
| 30 |
+
ob=bpy.data.objects.new(name,me); bpy.context.collection.objects.link(ob); ob.data.materials.append(mat)
|
| 31 |
+
return ob
|
| 32 |
+
|
| 33 |
+
def cut(ob, cutter):
|
| 34 |
+
for obj in [ob,cutter]:
|
| 35 |
+
bpy.context.view_layer.objects.active=obj
|
| 36 |
+
for prior in list(obj.modifiers):
|
| 37 |
+
if prior.type == 'WEIGHTED_NORMAL':
|
| 38 |
+
obj.modifiers.remove(prior)
|
| 39 |
+
else:
|
| 40 |
+
bpy.ops.object.modifier_apply(modifier=prior.name)
|
| 41 |
+
mod=ob.modifiers.new('precision_opening','BOOLEAN'); mod.operation='DIFFERENCE'; mod.solver='EXACT'; mod.object=cutter
|
| 42 |
+
bpy.context.view_layer.objects.active=ob; ob.select_set(True); bpy.ops.object.modifier_apply(modifier=mod.name); ob.select_set(False)
|
| 43 |
+
bpy.data.objects.remove(cutter,do_unlink=True)
|
| 44 |
+
for poly in ob.data.polygons:
|
| 45 |
+
poly.use_smooth = poly.area < 0.00015
|
| 46 |
+
wn=ob.modifiers.new('face_normals','WEIGHTED_NORMAL'); wn.keep_sharp=True; wn.weight=50
|
| 47 |
+
|
| 48 |
+
def bevel(ob, amount, segments=3):
|
| 49 |
+
mod=ob.modifiers.new('soft_edges','BEVEL'); mod.width=amount; mod.segments=segments
|
| 50 |
+
bpy.context.view_layer.objects.active=ob; bpy.ops.object.modifier_apply(modifier=mod.name)
|
| 51 |
+
shade_smooth_and_weight(ob)
|
| 52 |
+
|
| 53 |
+
def ring_shell(name, sections, wall, mat):
|
| 54 |
+
rings=[]
|
| 55 |
+
for z,w,d,r in sections:
|
| 56 |
+
rings.append(rounded_rect_points(w,d,r,z=z,segments=12))
|
| 57 |
+
for z,w,d,r in reversed(sections):
|
| 58 |
+
rings.append(rounded_rect_points(w-2*wall,d-2*wall,max(0.001,r-wall),z=z,segments=12))
|
| 59 |
+
n=len(rings[0]); verts=[tuple(p) for ring in rings for p in ring]; faces=[]
|
| 60 |
+
for i in range(len(rings)):
|
| 61 |
+
j=(i+1)%len(rings)
|
| 62 |
+
for k in range(n): faces.append((i*n+k,i*n+(k+1)%n,j*n+(k+1)%n,j*n+k))
|
| 63 |
+
ob=mesh_obj(name,verts,faces,mat); shade_smooth_and_weight(ob); return ob
|
| 64 |
+
|
| 65 |
+
def shell_normals(ob, sections):
|
| 66 |
+
for mod in list(ob.modifiers):
|
| 67 |
+
if mod.type=='WEIGHTED_NORMAL': ob.modifiers.remove(mod)
|
| 68 |
+
slopes=[]
|
| 69 |
+
for i,s in enumerate(sections):
|
| 70 |
+
a=sections[max(0,i-1)]; b=sections[min(len(sections)-1,i+1)]
|
| 71 |
+
slopes.append([(b[k]-a[k])/(b[0]-a[0]) for k in [1,2,3]])
|
| 72 |
+
normals=[None]*len(ob.data.loops)
|
| 73 |
+
for p in ob.data.polygons:
|
| 74 |
+
p.use_smooth=True
|
| 75 |
+
for li in p.loop_indices:
|
| 76 |
+
v=ob.data.vertices[ob.data.loops[li].vertex_index].co
|
| 77 |
+
idx=max(0,min(len(sections)-2,next((j-1 for j,s in enumerate(sections) if s[0]>v.z),len(sections)-2)))
|
| 78 |
+
a=sections[idx]; b=sections[idx+1]; t=max(0,min(1,(v.z-a[0])/(b[0]-a[0])))
|
| 79 |
+
w,d,r=[a[k]*(1-t)+b[k]*t for k in [1,2,3]]
|
| 80 |
+
dw,dd,dr=[slopes[idx][k]*(1-t)+slopes[idx+1][k]*t for k in range(3)]
|
| 81 |
+
sx=1 if v.x>=0 else -1; sy=1 if v.y>=0 else -1
|
| 82 |
+
nx=max(0,abs(v.x)-(w/2-r)); ny=max(0,abs(v.y)-(d/2-r))
|
| 83 |
+
if nx+ny<1e-8: n=Vector(p.normal)
|
| 84 |
+
else:
|
| 85 |
+
h=math.sqrt(nx*nx+ny*ny); nx/=h; ny/=h
|
| 86 |
+
nz=-(nx*dw/2+ny*dd/2-dr*(nx+ny-1))
|
| 87 |
+
n=Vector((sx*nx,sy*ny,nz)).normalized()
|
| 88 |
+
dot=n.dot(p.normal)
|
| 89 |
+
if abs(dot)<0.6: n=Vector(p.normal)
|
| 90 |
+
elif dot<0: n=-n
|
| 91 |
+
normals[li]=tuple(n)
|
| 92 |
+
ob.data.normals_split_custom_set(normals)
|
| 93 |
+
|
| 94 |
+
def soften_shell(ob):
|
| 95 |
+
for mod in list(ob.modifiers):
|
| 96 |
+
if mod.type == 'WEIGHTED_NORMAL': ob.modifiers.remove(mod)
|
| 97 |
+
for p in ob.data.polygons:
|
| 98 |
+
p.use_smooth = not (abs(p.normal.x)>0.9999 or abs(p.normal.y)>0.9999 or abs(p.normal.z)>0.9999)
|
| 99 |
+
|
| 100 |
+
def slot_cut(name, x, z, dims, mat, y=0.0, radius=0.007):
|
| 101 |
+
return create_rounded_box(name,(x,y,z),dims,radius,mat,segments=8)
|
| 102 |
+
|
| 103 |
+
def carriage(name, xs, mat):
|
| 104 |
+
for i,x in enumerate(xs):
|
| 105 |
+
ob=create_rounded_box(name+'_bread_support_'+str(i),(x,0,0.169),(0.026,0.154,0.002),0.0008,mat)
|
| 106 |
+
for yy in [-0.05,0,0.05]:
|
| 107 |
+
c=create_rounded_box('cutter_support',(x,yy,0.169),(0.004,0.021,0.008),0.0018,mat); cut(ob,c)
|
| 108 |
+
create_cylinder_between(name+'_support_wire_'+str(i),(x,-0.077,0.172),(x,0.077,0.172),0.0008,mat)
|
| 109 |
+
create_rounded_box(name+'_crossbar',(sum(xs)/2,-0.091,0.168),(abs(xs[1]-xs[0])+0.028,0.005,0.005),0.001,mat)
|
| 110 |
+
create_rounded_box(name+'_connector',(sum(xs)/2,-0.1065,0.213),(0.006,0.031,0.006),0.001,mat)
|
| 111 |
+
create_rounded_box(name+'_upright',(sum(xs)/2,-0.091,0.190),(0.006,0.005,0.049),0.001,mat)
|
| 112 |
+
for i,x in enumerate(xs):
|
| 113 |
+
create_rounded_box(name+'_bread_arm_'+str(i),(x,-0.0835,0.169),(0.006,0.017,0.002),0.0005,mat)
|
| 114 |
+
|
| 115 |
+
### Part: chassis ###
|
| 116 |
+
steel=metal('brushed_stainless')
|
| 117 |
+
darksteel=metal('toasting_chamber_steel',True)
|
| 118 |
+
plastic=black('base_charcoal')
|
| 119 |
+
rubber=build_principled_material('foot_rubber',base_color=(0.016,0.017,0.016,1),roughness=0.6)
|
| 120 |
+
shadow=build_principled_material('recess_black',base_color=(0.006,0.007,0.006,1),roughness=0.57)
|
| 121 |
+
sections=[(0.052,0.358,0.263,0.027),(0.064,0.360,0.265,0.029),(0.200,0.360,0.265,0.031),(0.228,0.357,0.262,0.033),(0.245,0.350,0.255,0.035),(0.259,0.340,0.245,0.037),(0.270,0.326,0.231,0.036),(0.278,0.312,0.217,0.031),(0.282,0.301,0.206,0.026)]
|
| 122 |
+
body=ring_shell('stainless_body',sections,SHELL_WALL,steel)
|
| 123 |
+
for x in [-0.0725,0.0725]:
|
| 124 |
+
c=slot_cut('cutter_lever',x,0.175,(0.011,0.025,0.112),steel,y=-0.13,radius=0.005)
|
| 125 |
+
cut(body,c)
|
| 126 |
+
c=slot_cut('cutter_button',x,0.094,(0.066,0.025,0.024),steel,y=-0.13,radius=0.003)
|
| 127 |
+
cut(body,c)
|
| 128 |
+
recess=create_rounded_box('lever_slot_shadow_'+str(x),(x,-0.1235,0.175),(0.010,0.002,0.110),0.0045,shadow)
|
| 129 |
+
c=create_rounded_box('cutter_guide_path',(x,-0.1235,0.175),(0.0075,0.008,0.116),0.0003,shadow); cut(recess,c)
|
| 130 |
+
create_cylinder_axis('guide_rail_L' if x<0 else 'guide_rail_R',(x,-0.1275,0.175),0.0013,0.107,'z',steel)
|
| 131 |
+
shell_normals(body,sections)
|
| 132 |
+
topsteel=metal('top_brushed_stainless',top=True)
|
| 133 |
+
plate=create_lofted_rect_sections('four_slot_top',0.2796,0.2836,[[0,0,0,0.2975,0.2025,0.024],[1,0,0,0.2975,0.2025,0.024]],topsteel,corner_segments=12)
|
| 134 |
+
for x in SLOT_X:
|
| 135 |
+
c=create_lofted_rect_sections('cutter_toast_slot',0.260,0.303,[[0,x,0,0.0435,0.172,0.007],[1,x,0,0.0435,0.172,0.007]],steel,corner_segments=12); cut(plate,c)
|
| 136 |
+
bevel(plate,0.0011,4)
|
| 137 |
+
for p in plate.data.polygons:
|
| 138 |
+
if abs(p.normal.z)>0.9999: p.use_smooth=False
|
| 139 |
+
seampts=rounded_rect_points(0.299,0.204,0.025,z=0.2835,segments=16)
|
| 140 |
+
create_curve_tube('top_plate_seam',seampts,0.00048,shadow,cyclic=True)
|
| 141 |
+
polished=build_principled_material('rolled_slot_rims',base_color=(0.55,0.56,0.55,1),metallic=0.95,roughness=0.22)
|
| 142 |
+
for i,x in enumerate(SLOT_X):
|
| 143 |
+
ring_shell('rolled_slot_rim_'+str(i),[(0.2815,0.044,0.1725,0.007),(0.2835,0.0465,0.175,0.008),(0.2842,0.046,0.1745,0.0078)],0.0015,polished).location.x=x
|
| 144 |
+
ring_shell('slot_throat_'+str(i),[(0.273,0.041,0.169,0.006),(0.280,0.0435,0.172,0.007)],0.0008,steel).location.x=x
|
| 145 |
+
for side in [-1,1]:
|
| 146 |
+
xx=x+side*0.0197
|
| 147 |
+
create_rounded_box('chamber_side_'+str(i)+'_'+str(side),(xx,0,0.186),(0.0012,0.167,0.174),0.0003,darksteel)
|
| 148 |
+
for k,yy in enumerate([-0.067,-0.043,-0.019,0.005,0.029,0.053,0.074]):
|
| 149 |
+
pts=[(xx-side*0.001,yy-0.004,0.270),(xx-side*0.003,yy-0.004,0.262),(xx-side*0.003,yy,0.257),(xx-side*0.003,yy,0.125),(xx-side*0.001,yy+0.003,0.117)]
|
| 150 |
+
create_curve_tube('bread_guide_'+str(i)+'_'+str(side)+'_'+str(k),pts,0.00055,steel,bevel_resolution=3)
|
| 151 |
+
create_cylinder_between('guide_top_'+str(i)+'_'+str(side),(xx-side*0.002,-0.078,0.263),(xx-side*0.002,0.078,0.263),0.00065,steel)
|
| 152 |
+
for yy in [-0.084,0.084]:
|
| 153 |
+
end=create_rounded_box('chamber_end_'+str(i)+'_'+str(yy),(x,yy,0.187),(0.040,0.0012,0.174),0.0003,darksteel)
|
| 154 |
+
for dx in [-0.011,0.011]:
|
| 155 |
+
c=create_rounded_box('cutter_end_vent',(x+dx,yy,0.257),(0.0028,0.006,0.012),0.001,steel); cut(end,c)
|
| 156 |
+
if yy<0:
|
| 157 |
+
c=create_rounded_box('cutter_carriage_track',(x,yy,0.129),(0.008,0.006,0.090),0.001,steel); cut(end,c)
|
| 158 |
+
base=ring_shell('black_base',[(0.015,0.353,0.258,0.026),(0.020,0.359,0.264,0.029),(0.048,0.359,0.264,0.029),(0.054,0.358,0.263,0.028)],0.004,plastic)
|
| 159 |
+
frontcut=create_rounded_box('cutter_tray_opening',(0,-0.134,0.034),(0.300,0.025,0.037),0.003,plastic); cut(base,frontcut)
|
| 160 |
+
vents=[]
|
| 161 |
+
for side in [-1,1]:
|
| 162 |
+
for k in range(13):
|
| 163 |
+
yy=(k-6)*0.012
|
| 164 |
+
vents.append(create_rounded_box('cutter_side_vent',(side*0.179,yy,0.035),(0.018,0.0042,0.022),0.002,plastic))
|
| 165 |
+
for side in [-1,1]:
|
| 166 |
+
for k in range(9):
|
| 167 |
+
xx=side*(0.030+k*0.0115)
|
| 168 |
+
vents.append(create_rounded_box('cutter_rear_vent',(xx,0.132,0.035),(0.0043,0.018,0.023),0.002,plastic))
|
| 169 |
+
cut(base,join_objects(vents,'cutter_all_vents'))
|
| 170 |
+
soften_shell(base)
|
| 171 |
+
for side in [-1,1]:
|
| 172 |
+
create_rounded_box('vent_backing_'+str(side),(side*0.171,0,0.035),(0.001,0.172,0.027),0.0004,shadow)
|
| 173 |
+
create_rounded_box('chassis_floor',(0,0,0.016),(0.342,0.245,0.003),0.001,plastic)
|
| 174 |
+
tray_housing=create_open_box('tray_housing',(0,-0.0025,0.034),(0.300,0.260,0.036),0.0015,'-y',darksteel)
|
| 175 |
+
for x in [-0.150,0.150]:
|
| 176 |
+
for y in [-0.102,0.102]:
|
| 177 |
+
foot=create_cylinder_axis('rubber_foot_'+str(x)+'_'+str(y),(x,y,0.009),0.014,0.018,'z',rubber,vertices=48)
|
| 178 |
+
bevel(foot,0.0015,4)
|
| 179 |
+
for side,x in [('L',-0.0725),('R',0.0725)]:
|
| 180 |
+
create_open_box('button_socket_'+side,(x,-0.125,0.094),(0.066,0.013,0.024),0.001,'-y',shadow)
|
| 181 |
+
create_cylinder_axis('cord_grommet',(0,0.133,0.034),0.010,0.006,'y',rubber)
|
| 182 |
+
cordpts=[]
|
| 183 |
+
for i in range(49):
|
| 184 |
+
t=i/48
|
| 185 |
+
cordpts.append((0.045*(1-math.cos(1.5*math.pi*t)),0.136+0.040*math.sin(1.5*math.pi*t),0.034-0.024*math.sin(0.5*math.pi*t)))
|
| 186 |
+
create_curve_tube('power_cord',cordpts,0.0044,rubber,bevel_resolution=5)
|
| 187 |
+
### End Part ###
|
| 188 |
+
|
| 189 |
+
### Part: lift_left ###
|
| 190 |
+
m=black('left_lever_plastic'); s=metal('left_lever_stem')
|
| 191 |
+
create_rounded_box('left_lift_paddle',(-0.0725,-0.1505,0.214),(0.063,0.034,0.013),0.005,m)
|
| 192 |
+
stem=create_rounded_box('left_lift_stem',(-0.0725,-0.1305,0.213),(0.006,0.017,0.006),0.001,s)
|
| 193 |
+
c=create_cylinder_axis('cutter_stem_bore',(-0.0725,-0.1275,0.213),0.00165,0.020,'z',s); cut(stem,c)
|
| 194 |
+
### End Part ###
|
| 195 |
+
|
| 196 |
+
### Part: lift_right ###
|
| 197 |
+
m=black('right_lever_plastic'); s=metal('right_lever_stem')
|
| 198 |
+
create_rounded_box('right_lift_paddle',(0.0725,-0.1505,0.214),(0.063,0.034,0.013),0.005,m)
|
| 199 |
+
stem=create_rounded_box('right_lift_stem',(0.0725,-0.1305,0.213),(0.006,0.017,0.006),0.001,s)
|
| 200 |
+
c=create_cylinder_axis('cutter_stem_bore',(0.0725,-0.1275,0.213),0.00165,0.020,'z',s); cut(stem,c)
|
| 201 |
+
### End Part ###
|
| 202 |
+
|
| 203 |
+
### Part: carriage_left ###
|
| 204 |
+
s=metal('left_bread_carriage')
|
| 205 |
+
carriage('left_carriage',SLOT_X[:2],s)
|
| 206 |
+
### End Part ###
|
| 207 |
+
|
| 208 |
+
### Part: carriage_right ###
|
| 209 |
+
s=metal('right_bread_carriage')
|
| 210 |
+
carriage('right_carriage',SLOT_X[2:],s)
|
| 211 |
+
### End Part ###
|
| 212 |
+
|
| 213 |
+
### Part: button_left ###
|
| 214 |
+
m=black('left_button_plastic')
|
| 215 |
+
create_rounded_box('left_front_button',(-0.0725,-0.1315,0.094),(0.062,0.006,0.021),0.0025,m)
|
| 216 |
+
### End Part ###
|
| 217 |
+
|
| 218 |
+
### Part: button_right ###
|
| 219 |
+
m=black('right_button_plastic')
|
| 220 |
+
create_rounded_box('right_front_button',(0.0725,-0.1315,0.094),(0.062,0.006,0.021),0.0025,m)
|
| 221 |
+
### End Part ###
|
| 222 |
+
|
| 223 |
+
### Part: crumb_tray ###
|
| 224 |
+
s=metal('crumb_tray_steel')
|
| 225 |
+
tray=create_drawer_box('tray_pan',tray_housing,0.234,TRAY_WALL,0.001,s)
|
| 226 |
+
face=create_rounded_box('crumb_tray_front',(0,-0.134,0.034),(0.291,0.003,0.031),0.0025,s)
|
| 227 |
+
for ob in [face,tray]:
|
| 228 |
+
c=create_extruded_profile('cutter_finger_notch',[(-0.041,0.008),(0.041,0.008),(0.035,0.024),(0.031,0.030),(0.025,0.032),(-0.025,0.032),(-0.031,0.030),(-0.035,0.024)],'xz',(-0.145,-0.125),s); cut(ob,c)
|
| 229 |
+
### End Part ###
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/articulation.blend
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73bda7c11a3a7d973bef46628e30407f45604e39fc2033f4d012aa17c2fde827
|
| 3 |
+
size 9147060
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/articulation.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/meta.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"object_id": "kit_portable_cooking_extractor-e4ecde3ca7--00001",
|
| 3 |
+
"category": "kit_portable_cooking_extractor",
|
| 4 |
+
"category_name": "Portable countertop cooking-fume extractor",
|
| 5 |
+
"domain": "Kitchen, food-processing and catering equipment",
|
| 6 |
+
"family": "Compact kitchen ventilation and air treatment",
|
| 7 |
+
"subfamily": "Portable food-preparation air treatment",
|
| 8 |
+
"part_count": 3,
|
| 9 |
+
"joint_count": 2,
|
| 10 |
+
"material_categories": [
|
| 11 |
+
"metal",
|
| 12 |
+
"plastic",
|
| 13 |
+
"rubber"
|
| 14 |
+
]
|
| 15 |
+
}
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/object.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27d93f391e3f8ad56dda687058ba87408aff717a6afd2ffd5c673dc2c0ce4713
|
| 3 |
+
size 41607988
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/object.urdf
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version='1.0' encoding='utf-8'?>
|
| 2 |
+
<robot name="source_motion_hypothesis">
|
| 3 |
+
<link name="fixed_stand">
|
| 4 |
+
<visual>
|
| 5 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 6 |
+
<geometry>
|
| 7 |
+
<mesh filename="parts/fixed_stand.glb" />
|
| 8 |
+
</geometry>
|
| 9 |
+
</visual>
|
| 10 |
+
</link>
|
| 11 |
+
<link name="tilting_head">
|
| 12 |
+
<visual>
|
| 13 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 14 |
+
<geometry>
|
| 15 |
+
<mesh filename="parts/tilting_head.glb" />
|
| 16 |
+
</geometry>
|
| 17 |
+
</visual>
|
| 18 |
+
</link>
|
| 19 |
+
<link name="impeller">
|
| 20 |
+
<visual>
|
| 21 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 22 |
+
<geometry>
|
| 23 |
+
<mesh filename="parts/impeller.glb" />
|
| 24 |
+
</geometry>
|
| 25 |
+
</visual>
|
| 26 |
+
</link>
|
| 27 |
+
<joint name="head_tilt" type="revolute">
|
| 28 |
+
<parent link="fixed_stand" />
|
| 29 |
+
<child link="tilting_head" />
|
| 30 |
+
<origin xyz="0.0 0.008 0.269" rpy="0.0 0.0 0.0" />
|
| 31 |
+
<axis xyz="1.0 0.0 0.0" />
|
| 32 |
+
<limit lower="-0.5235987756" upper="0.5235987756" effort="0.0" velocity="0.0" />
|
| 33 |
+
</joint>
|
| 34 |
+
<joint name="impeller_spin" type="revolute">
|
| 35 |
+
<parent link="tilting_head" />
|
| 36 |
+
<child link="impeller" />
|
| 37 |
+
<origin xyz="0.0 0.017 0.11499999999999999" rpy="0.0 0.0 0.0" />
|
| 38 |
+
<axis xyz="0.0 0.0 1.0" />
|
| 39 |
+
<limit lower="0.0" upper="6.2831853072" effort="0.0" velocity="0.0" />
|
| 40 |
+
</joint>
|
| 41 |
+
</robot>
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/object.usdz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c21b3a4e65e34f2ab6b807a5e1854df7b59c2716d89fa12577eeb6482b6fe15
|
| 3 |
+
size 43615881
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/parts/fixed_stand.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d153a8450b4ee1e239973bc3c74281a6cedc62d4ba76476d6954cf17a97aa91c
|
| 3 |
+
size 17845224
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/parts/impeller.glb
ADDED
|
Binary file (20.5 kB). View file
|
|
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/parts/tilting_head.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93a23fa48d3e7b07f741ee74014ee90f3f2eb190feadd17d3ecd4c633daaa56e
|
| 3 |
+
size 40436288
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/renders/front.png
ADDED
|
Git LFS Details
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/renders/isometric.png
ADDED
|
Git LFS Details
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/renders/side.png
ADDED
|
Git LFS Details
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/renders/top.png
ADDED
|
Git LFS Details
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00001/static.py
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import bpy
|
| 2 |
+
import bmesh
|
| 3 |
+
import math
|
| 4 |
+
from mathutils import Vector
|
| 5 |
+
|
| 6 |
+
PROVENANCE_TIERS = {'base':'observed','stand':'observed','head':'observed','filter':'observed','rotor':'inferred','filter_seat':'inferred','axle_bearings_-1':'inferred','axle_bearings_1':'inferred','motor_mount':'inferred','motor_stator':'inferred','filter_backing':'inferred'}
|
| 7 |
+
WALL = 0.003
|
| 8 |
+
PIVOT = (0.0,0.008,0.269)
|
| 9 |
+
HEAD_Z = 0.277
|
| 10 |
+
TAUPE = (0.37,0.338,0.298,1)
|
| 11 |
+
DARK = (0.063,0.068,0.070,1)
|
| 12 |
+
|
| 13 |
+
def plastic(name,color,rough=0.43):
|
| 14 |
+
return build_rich_material(name,material_class='plastic',base_color=color,roughness=rough,normal_strength=0.08,texture_scale=190,roughness_variation=0.06)
|
| 15 |
+
|
| 16 |
+
def brushed(name):
|
| 17 |
+
m=build_principled_material(name,base_color=(0.57,0.59,0.60,1),metallic=0.88,roughness=0.3)
|
| 18 |
+
n=m.node_tree.nodes
|
| 19 |
+
l=m.node_tree.links
|
| 20 |
+
tex=n.new('ShaderNodeTexNoise'); tex.inputs['Scale'].default_value=1; tex.inputs['Detail'].default_value=2
|
| 21 |
+
coord=n.new('ShaderNodeTexCoord'); vec=n.new('ShaderNodeVectorMath'); vec.operation='MULTIPLY'; vec.inputs[1].default_value=(2900,2900,24)
|
| 22 |
+
l.new(coord.outputs['Generated'],vec.inputs[0]); l.new(vec.outputs[0],tex.inputs['Vector'])
|
| 23 |
+
bump=n.new('ShaderNodeBump'); bump.inputs['Strength'].default_value=0.15; bump.inputs['Distance'].default_value=0.00013
|
| 24 |
+
l.new(tex.outputs['Fac'],bump.inputs['Height']); l.new(bump.outputs['Normal'],n.get('Principled BSDF').inputs['Normal'])
|
| 25 |
+
return m
|
| 26 |
+
|
| 27 |
+
def mesh_obj(name,vs,fs,mat,smooth=True):
|
| 28 |
+
mesh=bpy.data.meshes.new(name+'_mesh'); mesh.from_pydata(vs,[],fs); mesh.update()
|
| 29 |
+
bm=bmesh.new();bm.from_mesh(mesh);bmesh.ops.recalc_face_normals(bm,faces=list(bm.faces));bm.to_mesh(mesh);bm.free()
|
| 30 |
+
obj=bpy.data.objects.new(name,mesh); bpy.context.collection.objects.link(obj); obj.data.materials.append(mat)
|
| 31 |
+
for p in mesh.polygons:p.use_smooth=smooth
|
| 32 |
+
return obj
|
| 33 |
+
|
| 34 |
+
def rr(w,h,r,n=16):
|
| 35 |
+
pts=[]
|
| 36 |
+
for cx,cz,start in [(w/2-r,h/2-r,0),(-w/2+r,h/2-r,90),(-w/2+r,-h/2+r,180),(w/2-r,-h/2+r,270)]:
|
| 37 |
+
for i in range(n):
|
| 38 |
+
a=math.radians(start+90*i/n);pts.append((cx+r*math.cos(a),cz+r*math.sin(a)))
|
| 39 |
+
return pts
|
| 40 |
+
|
| 41 |
+
def base_shell(name,mat):
|
| 42 |
+
vs=[];fs=[];N=128
|
| 43 |
+
levels=[(0.008,0.322,0.222),(0.009,0.326,0.226),(0.011,0.328,0.228),(0.061,0.328,0.228),(0.063,0.326,0.226),(0.065,0.322,0.222)]
|
| 44 |
+
for z,w,d in levels:vs.extend([(x,y,z) for x,y in rr(w,d,0.054,32)])
|
| 45 |
+
for j in range(len(levels)-1):
|
| 46 |
+
for i in range(N):k=(i+1)%N;fs.append((j*N+i,j*N+k,(j+1)*N+k,(j+1)*N+i))
|
| 47 |
+
fs.append(tuple(reversed(range(N))));fs.append(tuple(range((len(levels)-1)*N,len(levels)*N)))
|
| 48 |
+
obj=mesh_obj(name,vs,fs,mat)
|
| 49 |
+
obj.data.polygons[-1].use_smooth=False;obj.data.polygons[-2].use_smooth=False
|
| 50 |
+
return obj
|
| 51 |
+
|
| 52 |
+
def head_sections():
|
| 53 |
+
rings=[(-0.093,0.254,0.258,0.059),(-0.091,0.258,0.262,0.060),(-0.086,0.263,0.266,0.062),(-0.075,0.267,0.268,0.064),(0.025,0.267,0.268,0.064),(0.047,0.267,0.268,0.064)]
|
| 54 |
+
for i in range(1,17):
|
| 55 |
+
t=math.pi/2*i/16;d=0.045*(1-math.cos(t))
|
| 56 |
+
rings.append((0.047+0.045*math.sin(t),0.267-2*d,0.268-2*d,0.064-0.32*d))
|
| 57 |
+
return rings
|
| 58 |
+
|
| 59 |
+
def top_surface(x,y):
|
| 60 |
+
rings=head_sections()
|
| 61 |
+
for i in range(len(rings)-1):
|
| 62 |
+
a=rings[i];b=rings[i+1]
|
| 63 |
+
if a[0]<=y<=b[0]:
|
| 64 |
+
f=(y-a[0])/(b[0]-a[0]);w=a[1]+f*(b[1]-a[1]);h=a[2]+f*(b[2]-a[2]);r=a[3]+f*(b[3]-a[3])
|
| 65 |
+
dx=max(0,abs(x)-(w/2-r))
|
| 66 |
+
return HEAD_Z+h/2-r+math.sqrt(max(0,r*r-dx*dx))
|
| 67 |
+
return HEAD_Z+0.09
|
| 68 |
+
|
| 69 |
+
def grid_rib(name,p0,p1,width,mat):
|
| 70 |
+
vs=[];fs=[];dx=p1[0]-p0[0];dy=p1[1]-p0[1];length=math.hypot(dx,dy);nx=-dy/length*width/2;ny=dx/length*width/2
|
| 71 |
+
for i in range(25):
|
| 72 |
+
f=i/24;x=p0[0]+dx*f;y=p0[1]+dy*f
|
| 73 |
+
for side,down in [(-1,0), (1,0), (1,0.003),(-1,0.003)]:
|
| 74 |
+
xx=x+side*nx;yy=y+side*ny;vs.append((xx,yy,top_surface(xx,yy)-0.0005-down))
|
| 75 |
+
for i in range(24):
|
| 76 |
+
for j in range(4):fs.append((4*i+j,4*i+(j+1)%4,4*(i+1)+(j+1)%4,4*(i+1)+j))
|
| 77 |
+
fs.extend([(3,2,1,0),(96,97,98,99)])
|
| 78 |
+
obj=mesh_obj(name,vs,fs,mat)
|
| 79 |
+
b=obj.modifiers.new('Grid edge radius','BEVEL');b.width=0.00035;b.segments=2
|
| 80 |
+
return obj
|
| 81 |
+
|
| 82 |
+
def shell(name,mat):
|
| 83 |
+
rings=head_sections()
|
| 84 |
+
inner=[]
|
| 85 |
+
for y,w,h,r in rings:
|
| 86 |
+
t=math.asin(min(1.0,max(0.0,(y-0.047)/0.045)))
|
| 87 |
+
inner.append((y-WALL*math.sin(t),w-2*WALL*math.cos(t),h-2*WALL*math.cos(t),max(0.005,r-WALL)))
|
| 88 |
+
seq=rings+list(reversed(inner));vs=[];fs=[];N=64
|
| 89 |
+
for y,w,h,r in seq:vs.extend([(x,y,z+HEAD_Z) for x,z in rr(w,h,r)])
|
| 90 |
+
for j in range(len(seq)-1):
|
| 91 |
+
if j==len(rings)-1:continue
|
| 92 |
+
for i in range(N):k=(i+1)%N;fs.append((j*N+i,j*N+k,(j+1)*N+k,(j+1)*N+i))
|
| 93 |
+
fs.append(tuple(range((len(rings)-1)*N,len(rings)*N)))
|
| 94 |
+
fs.append(tuple(reversed(range(len(rings)*N,(len(rings)+1)*N))))
|
| 95 |
+
for i in range(N):k=(i+1)%N;fs.append((i,(len(seq)-1)*N+i,(len(seq)-1)*N+k,k))
|
| 96 |
+
return mesh_obj(name,vs,fs,mat)
|
| 97 |
+
|
| 98 |
+
def boolean_difference(obj,cut):
|
| 99 |
+
bpy.context.view_layer.objects.active=obj
|
| 100 |
+
mod=obj.modifiers.new('Opening','BOOLEAN');mod.operation='DIFFERENCE';mod.solver='EXACT';mod.object=cut
|
| 101 |
+
bpy.ops.object.modifier_apply(modifier=mod.name);bpy.data.objects.remove(cut,do_unlink=True)
|
| 102 |
+
|
| 103 |
+
def square_round_ring(name,w,h,r,hole,y0,y1,mat):
|
| 104 |
+
outer=[]
|
| 105 |
+
for i in range(192):
|
| 106 |
+
a=i*math.tau/192;lo=0.0;hi=max(w,h)
|
| 107 |
+
for k in range(24):
|
| 108 |
+
t=(lo+hi)/2;x=abs(t*math.cos(a));z=abs(t*math.sin(a))
|
| 109 |
+
outside=math.hypot(max(0,x-(w/2-r)),max(0,z-(h/2-r)))>r
|
| 110 |
+
if outside:hi=t
|
| 111 |
+
else:lo=t
|
| 112 |
+
outer.append((lo*math.cos(a),lo*math.sin(a)))
|
| 113 |
+
N=len(outer);vs=[];fs=[]
|
| 114 |
+
for y,inside in [(y0,False),(y1,False),(y1,True),(y0,True)]:
|
| 115 |
+
for x,z in outer:
|
| 116 |
+
if inside:
|
| 117 |
+
a=math.atan2(z,x);x=hole*math.cos(a);z=hole*math.sin(a)
|
| 118 |
+
vs.append((x,y,HEAD_Z+z))
|
| 119 |
+
for j in range(4):
|
| 120 |
+
j1=(j+1)%4
|
| 121 |
+
for i in range(N):k=(i+1)%N;fs.append((j*N+i,j*N+k,j1*N+k,j1*N+i))
|
| 122 |
+
obj=mesh_obj(name,vs,fs,mat)
|
| 123 |
+
bevel=obj.modifiers.new('Soft molded edge','BEVEL');bevel.width=0.0013;bevel.segments=3
|
| 124 |
+
return obj
|
| 125 |
+
|
| 126 |
+
def wire_mesh(name,radius,pitch,y,angles,mat):
|
| 127 |
+
vs=[];fs=[];sides=4
|
| 128 |
+
for layer,angle in enumerate(angles):
|
| 129 |
+
a=math.radians(angle);u=(math.cos(a),math.sin(a));v=(-math.sin(a),math.cos(a))
|
| 130 |
+
for j in range(-int(radius/pitch),int(radius/pitch)+1):
|
| 131 |
+
d=j*pitch
|
| 132 |
+
if abs(d)>=radius:continue
|
| 133 |
+
extent=math.sqrt(radius*radius-d*d);steps=max(4,int(2*extent/pitch*0.6));start=len(vs)
|
| 134 |
+
for k in range(steps+1):
|
| 135 |
+
t=-extent+2*extent*k/steps
|
| 136 |
+
yy=y+layer*0.00042+0.00013*math.sin(t/pitch*math.pi+j*math.pi)
|
| 137 |
+
for q in range(sides):
|
| 138 |
+
phi=2*math.pi*q/sides;rad=0.00019
|
| 139 |
+
vs.append((u[0]*t+v[0]*(d+rad*math.cos(phi)),yy+rad*math.sin(phi),HEAD_Z+u[1]*t+v[1]*(d+rad*math.cos(phi))))
|
| 140 |
+
for k in range(steps):
|
| 141 |
+
for q in range(sides):fs.append((start+k*sides+q,start+k*sides+(q+1)%sides,start+(k+1)*sides+(q+1)%sides,start+(k+1)*sides+q))
|
| 142 |
+
fs.append(tuple(start+q for q in reversed(range(sides))));fs.append(tuple(start+steps*sides+q for q in range(sides)))
|
| 143 |
+
return mesh_obj(name,vs,fs,mat)
|
| 144 |
+
|
| 145 |
+
def arm(name,sign,mat):
|
| 146 |
+
# Broad metal strap: a curved foot below a straight upright and a semicircular crown.
|
| 147 |
+
path=[]
|
| 148 |
+
for i in range(17):
|
| 149 |
+
t=math.pi/2*i/16
|
| 150 |
+
path.append((sign*(0.116+0.030*math.sin(t)),0.066+0.045*(1-math.cos(t))))
|
| 151 |
+
path.append((sign*0.146,0.269))
|
| 152 |
+
vs=[];fs=[]
|
| 153 |
+
for x,z in path:vs.extend([(x-sign*0.009,0.008-0.029,z),(x+sign*0.009,0.008-0.029,z),(x+sign*0.009,0.008+0.029,z),(x-sign*0.009,0.008+0.029,z)])
|
| 154 |
+
for i in range(len(path)-1):
|
| 155 |
+
for j in range(4):fs.append((i*4+j,i*4+(j+1)%4,(i+1)*4+(j+1)%4,(i+1)*4+j))
|
| 156 |
+
fs.append((3,2,1,0));fs.append(tuple((len(path)-1)*4+j for j in range(4)))
|
| 157 |
+
strap=mesh_obj(name,vs,fs,mat,False)
|
| 158 |
+
# Half cylinder closes the rounded top of the strap.
|
| 159 |
+
profile=[(0.008+0.029*math.cos(math.pi*i/32),0.269+0.029*math.sin(math.pi*i/32)) for i in range(33)]
|
| 160 |
+
crown=create_extruded_profile(name+'_crown',profile,'yz',tuple(sorted((sign*0.137,sign*0.155))),mat)
|
| 161 |
+
obj=join_objects([strap,crown],name)
|
| 162 |
+
bevel=obj.modifiers.new('Strap soft edges','BEVEL');bevel.width=0.001;bevel.segments=3
|
| 163 |
+
return obj
|
| 164 |
+
|
| 165 |
+
### Part: base ###
|
| 166 |
+
base_mat=plastic('Charcoal base',DARK)
|
| 167 |
+
base_obj=base_shell('base_body',base_mat)
|
| 168 |
+
rubber=build_rich_material('Foot rubber',material_class='rubber',base_color=(0.023,0.025,0.025,1),roughness=0.7)
|
| 169 |
+
for x in [-0.122,0.122]:
|
| 170 |
+
for y in [-0.077,0.077]:create_cylinder_axis('foot_'+str(x)+'_'+str(y),(x,y,0.006),0.014,0.012,'z',rubber)
|
| 171 |
+
control_mat=plastic('Black touch strip',(0.012,0.015,0.016,1),0.28)
|
| 172 |
+
create_lofted_rect_sections('touch_control_strip',0.0648,0.0656,[[0,0,-0.077,0.126,0.028,0.014],[1,0,-0.077,0.126,0.028,0.014]],control_mat,corner_segments=16)
|
| 173 |
+
ink=build_principled_material('Pale control symbols',base_color=(0.57,0.61,0.61,1),metallic=0.15,roughness=0.45)
|
| 174 |
+
create_curve_tube('power_touch_symbol',[(-0.040+0.0045*math.cos(i*math.tau/64),-0.077+0.0045*math.sin(i*math.tau/64),0.06585) for i in range(64)],0.00032,ink,cyclic=True)
|
| 175 |
+
for i,x in enumerate([-0.014,-0.008,-0.002,0.045]):create_cylinder_axis('status_dot_'+str(i),(x,-0.077,0.0658),0.00085,0.0003,'z',ink,vertices=20)
|
| 176 |
+
for i in range(5):
|
| 177 |
+
a=i*math.tau/5
|
| 178 |
+
obj=create_sphere('fan_touch_petal_'+str(i),(0.023+0.0026*math.cos(a),-0.077+0.0026*math.sin(a),0.06585),1,ink,scale=(0.0023,0.0013,0.00015));obj.rotation_euler.z=a+0.45
|
| 179 |
+
### End Part ###
|
| 180 |
+
|
| 181 |
+
### Part: stand ###
|
| 182 |
+
metal=brushed('Brushed aluminium stand')
|
| 183 |
+
arm('left_support',-1,metal)
|
| 184 |
+
arm('right_support',1,metal)
|
| 185 |
+
for s in [-1,1]:
|
| 186 |
+
create_cylinder_axis('pivot_axle_'+str(s),(s*0.1328,0.008,0.269),0.023,0.0084,'x',metal,vertices=80)
|
| 187 |
+
### End Part ###
|
| 188 |
+
|
| 189 |
+
### Part: head ###
|
| 190 |
+
housing_mat=plastic('Warm grey housing',TAUPE,0.46)
|
| 191 |
+
housing=shell('housing_shell',housing_mat)
|
| 192 |
+
vent_cut=create_rounded_box('cutter_top_exhaust',(0,0.027,0.410),(0.163,0.078,0.059),0.012,housing_mat,segments=8)
|
| 193 |
+
boolean_difference(housing,vent_cut)
|
| 194 |
+
for s in [-1,1]:
|
| 195 |
+
cut=create_cylinder_axis('cutter_pivot_'+str(s),(s*0.133,0.008,0.269),0.02355,0.022,'x',housing_mat,vertices=80)
|
| 196 |
+
boolean_difference(housing,cut)
|
| 197 |
+
normal_mod=housing.modifiers.new('Housing surface normals','WEIGHTED_NORMAL');normal_mod.keep_sharp=True;normal_mod.weight=80
|
| 198 |
+
bezel_mat=plastic('Graphite intake bezel',(0.047,0.054,0.057,1),0.38)
|
| 199 |
+
square_round_ring('intake_bezel',0.250,0.254,0.058,0.112,-0.096,-0.088,bezel_mat)
|
| 200 |
+
seat=build_principled_material('Filter inner seat',base_color=(0.027,0.03,0.031,1),roughness=0.48)
|
| 201 |
+
create_cylindrical_shell('filter_seat',(0,-0.086,HEAD_Z),0.112,0.008,0.002,math.tau,seat,axis='y',segments=128)
|
| 202 |
+
for s in [-1,1]:
|
| 203 |
+
create_cylindrical_shell('axle_bearings_'+str(s),(s*0.1325,0.008,0.269),0.0242,0.003,0.0013,math.tau,seat,axis='x',segments=64)
|
| 204 |
+
# The thin outlet grid is part of the head shell; the spaces are genuine openings.
|
| 205 |
+
for i in range(7):
|
| 206 |
+
y=-0.004+i*0.0103
|
| 207 |
+
grid_rib('exhaust_crossbar_'+str(i),(-0.080,y),(0.080,y),0.0017,housing_mat)
|
| 208 |
+
for i,x in enumerate([-0.048,-0.016,0.016,0.048]):
|
| 209 |
+
grid_rib('exhaust_spine_'+str(i),(x,-0.011),(x,0.065),0.0017,housing_mat)
|
| 210 |
+
vent_outline=rounded_rect_points(0.164,0.079,0.012,center=(0,0.027),segments=12)
|
| 211 |
+
create_curve_tube('exhaust_rim',[(p[0],p[1],top_surface(p[0],p[1])-0.0006) for p in vent_outline],0.0008,housing_mat,cyclic=True,bevel_resolution=3)
|
| 212 |
+
create_rounded_box('motor_mount',(0,0.025,0.348),(0.262,0.009,0.007),0.002,seat)
|
| 213 |
+
create_cylinder_axis('motor_stator',(0,0.025,0.3645),0.015,0.028,'z',seat,vertices=48)
|
| 214 |
+
### End Part ###
|
| 215 |
+
|
| 216 |
+
### Part: filter ###
|
| 217 |
+
mesh_metal=build_rich_material('Stainless woven filter',material_class='metal',base_color=(0.55,0.52,0.47,1),metallic=0.65,roughness=0.46)
|
| 218 |
+
create_cylindrical_shell('filter_rim',(0,-0.093,HEAD_Z),0.1104,0.004,0.0018,math.tau,mesh_metal,axis='y',segments=160)
|
| 219 |
+
wire_mesh('woven_filter_front',0.1098,0.00175,-0.094,[29,119],mesh_metal)
|
| 220 |
+
wire_mesh('woven_filter_back',0.1098,0.0022,-0.0928,[-12,78],mesh_metal)
|
| 221 |
+
backing_mat=build_rich_material('Dark filter layers',material_class='metal',base_color=(0.036,0.033,0.029,1),metallic=0.4,roughness=0.76,normal_strength=0.25,texture_scale=400)
|
| 222 |
+
create_cylinder_axis('filter_backing',(0,-0.0905,HEAD_Z),0.1095,0.001,'y',backing_mat,vertices=160)
|
| 223 |
+
### End Part ###
|
| 224 |
+
|
| 225 |
+
### Part: rotor ###
|
| 226 |
+
fan_mat=build_principled_material('Dark exhaust impeller',base_color=(0.018,0.022,0.023,1),roughness=0.55)
|
| 227 |
+
create_cylinder_axis('fan_hub',(0,0.025,0.384),0.016,0.010,'z',fan_mat,vertices=48)
|
| 228 |
+
for i in range(7):
|
| 229 |
+
a=i*math.tau/7;vs=[]
|
| 230 |
+
for z in [0.382,0.385]:
|
| 231 |
+
for r,t in [(0.014,a),(0.052,a+0.16),(0.054,a+0.47),(0.022,a+0.66)]:vs.append((r*math.cos(t),0.025+r*math.sin(t),z))
|
| 232 |
+
mesh_obj('impeller_blade_'+str(i),vs,[(0,3,2,1),(4,5,6,7),(0,1,5,4),(1,2,6,5),(2,3,7,6),(3,0,4,7)],fan_mat)
|
| 233 |
+
### End Part ###
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/articulation.blend
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ff8f7f6bf044fb023cc163011ce6f4961c8a243850ab3b432c92471280c7866
|
| 3 |
+
size 14308005
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/articulation.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/meta.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"object_id": "kit_portable_cooking_extractor-e4ecde3ca7--00002",
|
| 3 |
+
"category": "kit_portable_cooking_extractor",
|
| 4 |
+
"category_name": "Portable countertop cooking-fume extractor",
|
| 5 |
+
"domain": "Kitchen, food-processing and catering equipment",
|
| 6 |
+
"family": "Compact kitchen ventilation and air treatment",
|
| 7 |
+
"subfamily": "Portable food-preparation air treatment",
|
| 8 |
+
"part_count": 3,
|
| 9 |
+
"joint_count": 2,
|
| 10 |
+
"material_categories": [
|
| 11 |
+
"glass",
|
| 12 |
+
"metal",
|
| 13 |
+
"rubber"
|
| 14 |
+
]
|
| 15 |
+
}
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/object.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aac710595f4b7726be4a68f42ff380fe6225e3d1041b89f013370fe81f1e9d50
|
| 3 |
+
size 40665184
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/object.urdf
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version='1.0' encoding='utf-8'?>
|
| 2 |
+
<robot name="source_motion_hypothesis">
|
| 3 |
+
<link name="body">
|
| 4 |
+
<visual>
|
| 5 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 6 |
+
<geometry>
|
| 7 |
+
<mesh filename="parts/body.glb" />
|
| 8 |
+
</geometry>
|
| 9 |
+
</visual>
|
| 10 |
+
</link>
|
| 11 |
+
<link name="filter_link">
|
| 12 |
+
<visual>
|
| 13 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 14 |
+
<geometry>
|
| 15 |
+
<mesh filename="parts/filter_link.glb" />
|
| 16 |
+
</geometry>
|
| 17 |
+
</visual>
|
| 18 |
+
</link>
|
| 19 |
+
<link name="blower">
|
| 20 |
+
<visual>
|
| 21 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 22 |
+
<geometry>
|
| 23 |
+
<mesh filename="parts/blower.glb" />
|
| 24 |
+
</geometry>
|
| 25 |
+
</visual>
|
| 26 |
+
</link>
|
| 27 |
+
<joint name="filter_open" type="revolute">
|
| 28 |
+
<parent link="body" />
|
| 29 |
+
<child link="filter_link" />
|
| 30 |
+
<origin xyz="0.0 0.0 0.0" rpy="0.0 0.0 0.0" />
|
| 31 |
+
<axis xyz="1.0 0.0 0.0" />
|
| 32 |
+
<limit lower="0.0" upper="1.57079632679" effort="0.0" velocity="0.0" />
|
| 33 |
+
</joint>
|
| 34 |
+
<joint name="blower_spin" type="revolute">
|
| 35 |
+
<parent link="body" />
|
| 36 |
+
<child link="blower" />
|
| 37 |
+
<origin xyz="0.0 0.19704659581184386 0.2763268893957138" rpy="0.0 0.0 0.0" />
|
| 38 |
+
<axis xyz="0.0 0.0 1.0" />
|
| 39 |
+
<limit lower="0.0" upper="6.28318530718" effort="0.0" velocity="0.0" />
|
| 40 |
+
</joint>
|
| 41 |
+
</robot>
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/object.usdz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30e78974182dc0f28beae8957e85b5eef049c82b3f5f6587a9d44217d4e44b21
|
| 3 |
+
size 39892747
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/parts/blower.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b24c2951c5c72e92cc3e726bd9a5273e0ab8f410a1ddcd1a7c8a7083b0feb714
|
| 3 |
+
size 8090740
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/parts/body.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6abb2ca19583df2eca1d249d9b52fba720eee9e84274f8cc3ec7cd718f59a048
|
| 3 |
+
size 16175884
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/parts/filter_link.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96fe0fe8f0bd0f414865b6846f9336c20a00bd881d0146dc3aaa307bc48f523f
|
| 3 |
+
size 39131480
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/renders/front.png
ADDED
|
Git LFS Details
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/renders/isometric.png
ADDED
|
Git LFS Details
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/renders/side.png
ADDED
|
Git LFS Details
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/renders/top.png
ADDED
|
Git LFS Details
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00002/static.py
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import bpy
|
| 2 |
+
import bmesh
|
| 3 |
+
import math
|
| 4 |
+
from mathutils import Vector
|
| 5 |
+
PROVENANCE_TIERS = {'housing':'observed','housing_shell':'inferred','filter':'observed','feet':'observed','controls':'observed','outlet':'observed','outlet_duct':'inferred','rotor':'inferred','Filter backing':'inferred','Rotor axle':'inferred','Motor support':'inferred'}
|
| 6 |
+
WALL = 0.005
|
| 7 |
+
A = 0.3316125579
|
| 8 |
+
C = 0.9455185756
|
| 9 |
+
S = 0.3255681545
|
| 10 |
+
Y0 = -0.149
|
| 11 |
+
Z0 = 0.103
|
| 12 |
+
CREAM = (0.56,0.518,0.444,1)
|
| 13 |
+
STEEL = (0.48,0.49,0.48,1)
|
| 14 |
+
BLACK = (0.012,0.014,0.014,1)
|
| 15 |
+
def p(x,v,w):
|
| 16 |
+
return (x,Y0+C*v+S*w,Z0-S*v+C*w)
|
| 17 |
+
def mat(name,color,metallic=0,roughness=0.35):
|
| 18 |
+
material=build_rich_material(name,material_class='metal' if metallic>0.5 else 'plastic',base_color=color,metallic=metallic,roughness=roughness,normal_strength=0.02,roughness_variation=0.04)
|
| 19 |
+
material.diffuse_color=color
|
| 20 |
+
return material
|
| 21 |
+
def tilt(obj):
|
| 22 |
+
obj.location = p(*obj.location)
|
| 23 |
+
obj.rotation_euler = (-A,0,0)
|
| 24 |
+
return obj
|
| 25 |
+
def bevel(obj,width,segments=5):
|
| 26 |
+
m=obj.modifiers.new('Soft edges','BEVEL')
|
| 27 |
+
m.width=width
|
| 28 |
+
m.segments=segments
|
| 29 |
+
obj.modifiers.new('Weighted normals','WEIGHTED_NORMAL')
|
| 30 |
+
return obj
|
| 31 |
+
def molded_wedge(material):
|
| 32 |
+
profile=[(-0.185,0.025),(0.143,0.025),(0.136,0.445),(-0.03125,0.445),(-0.149,0.103),(-0.183,0.080)]
|
| 33 |
+
verts=[(side*0.177*(1-0.08*(z-0.025)/0.420),y,z) for side in [-1,1] for y,z in profile]
|
| 34 |
+
n=len(profile)
|
| 35 |
+
faces=[tuple(reversed(range(n))),tuple(range(n,2*n))]
|
| 36 |
+
faces += [(i,(i+1)%n,(i+1)%n+n,i+n) for i in range(n)]
|
| 37 |
+
me=bpy.data.meshes.new('Molded wedge mesh')
|
| 38 |
+
me.from_pydata(verts,[],faces)
|
| 39 |
+
me.update()
|
| 40 |
+
bm=bmesh.new()
|
| 41 |
+
bm.from_mesh(me)
|
| 42 |
+
bmesh.ops.recalc_face_normals(bm,faces=list(bm.faces))
|
| 43 |
+
bm.to_mesh(me)
|
| 44 |
+
bm.free()
|
| 45 |
+
ob=bpy.data.objects.new('construction_outer',me)
|
| 46 |
+
bpy.context.collection.objects.link(ob)
|
| 47 |
+
assign_material(ob,material)
|
| 48 |
+
return ob
|
| 49 |
+
|
| 50 |
+
def panel(name,cx,v,cz,width,height,radius,depth,material):
|
| 51 |
+
pts=rounded_rect_points(width,height,radius,center=(cx,cz),segments=12)
|
| 52 |
+
return create_extruded_profile(name,[(q[0],q[1]) for q in pts],'xz',(v-depth/2,v+depth/2),material)
|
| 53 |
+
def apply_mods(obj):
|
| 54 |
+
bpy.context.view_layer.objects.active=obj
|
| 55 |
+
for m in list(obj.modifiers):
|
| 56 |
+
bpy.ops.object.modifier_apply(modifier=m.name)
|
| 57 |
+
def union(obj,other):
|
| 58 |
+
bpy.context.view_layer.objects.active=obj
|
| 59 |
+
m=obj.modifiers.new('Molded union','BOOLEAN')
|
| 60 |
+
m.operation='UNION'
|
| 61 |
+
m.object=other
|
| 62 |
+
bpy.ops.object.modifier_apply(modifier=m.name)
|
| 63 |
+
bpy.data.objects.remove(other,do_unlink=True)
|
| 64 |
+
def boolean(obj,cutter):
|
| 65 |
+
bpy.context.view_layer.objects.active=obj
|
| 66 |
+
mod=obj.modifiers.new('Physical opening','BOOLEAN')
|
| 67 |
+
mod.operation='DIFFERENCE'
|
| 68 |
+
mod.solver='EXACT'
|
| 69 |
+
mod.object=cutter
|
| 70 |
+
bpy.ops.object.modifier_apply(modifier=mod.name)
|
| 71 |
+
bpy.data.objects.remove(cutter,do_unlink=True)
|
| 72 |
+
def line_icon(name,pts,material,r=0.00022):
|
| 73 |
+
return create_curve_tube(name,[p(x,-0.0035,z) for x,z in pts],r,material,bevel_resolution=2)
|
| 74 |
+
def arc_icon(name,cx,cz,rx,rz,t0,t1,material,n=40):
|
| 75 |
+
return line_icon(name,[(cx+rx*math.cos(t0+(t1-t0)*i/n),cz+rz*math.sin(t0+(t1-t0)*i/n)) for i in range(n+1)],material)
|
| 76 |
+
def woven_mesh(material):
|
| 77 |
+
verts=[]
|
| 78 |
+
faces=[]
|
| 79 |
+
def wire(points,radius):
|
| 80 |
+
start=len(verts)
|
| 81 |
+
for i,pt in enumerate(points):
|
| 82 |
+
tangent=Vector(points[min(i+1,len(points)-1)])-Vector(points[max(0,i-1)])
|
| 83 |
+
tangent.normalize()
|
| 84 |
+
b=tangent.cross(Vector((0,1,0))).normalized()
|
| 85 |
+
c=tangent.cross(b).normalized()
|
| 86 |
+
for j in range(4):
|
| 87 |
+
q=Vector(pt)+radius*(math.cos(j*2*math.pi/4)*b+math.sin(j*2*math.pi/4)*c)
|
| 88 |
+
verts.append(tuple(q))
|
| 89 |
+
for i in range(len(points)-1):
|
| 90 |
+
for j in range(4):
|
| 91 |
+
a=start+i*4+j
|
| 92 |
+
b0=start+i*4+(j+1)%4
|
| 93 |
+
faces.append((a,b0,b0+4,a+4))
|
| 94 |
+
faces.append(tuple(start+j for j in reversed(range(4))))
|
| 95 |
+
end=start+(len(points)-1)*4
|
| 96 |
+
faces.append(tuple(end+j for j in range(4)))
|
| 97 |
+
pitch=0.00183
|
| 98 |
+
for i in range(150):
|
| 99 |
+
x=-0.137+i*pitch
|
| 100 |
+
wire([p(x,-0.0025+0.00020*math.cos(j*math.pi+i*math.pi),0.020+j*pitch) for j in range(138)],0.00025)
|
| 101 |
+
for j in range(138):
|
| 102 |
+
z=0.020+j*pitch
|
| 103 |
+
wire([p(-0.137+i*pitch,-0.0025-0.00020*math.cos(i*math.pi+j*math.pi),z) for i in range(150)],0.00025)
|
| 104 |
+
me=bpy.data.meshes.new('Interlaced steel weave mesh')
|
| 105 |
+
me.from_pydata(verts,[],faces)
|
| 106 |
+
me.update()
|
| 107 |
+
ob=bpy.data.objects.new('Woven filter mesh',me)
|
| 108 |
+
bpy.context.collection.objects.link(ob)
|
| 109 |
+
assign_material(ob,material)
|
| 110 |
+
for f in me.polygons:
|
| 111 |
+
f.use_smooth=True
|
| 112 |
+
return ob
|
| 113 |
+
|
| 114 |
+
### Part: housing ###
|
| 115 |
+
cream=mat('Warm ivory molded housing',CREAM,0,0.3)
|
| 116 |
+
dark=mat('Cavity charcoal',(0.025,0.027,0.026,1),0,0.6)
|
| 117 |
+
housing_shell=create_open_box('housing_shell',(0,0.123,0.146),(0.354,0.246,0.395),WALL,'-y',cream,opening_margins={'-x':0.020,'+x':0.020,'-z':0.051,'+z':0.053})
|
| 118 |
+
outer=molded_wedge(cream)
|
| 119 |
+
bevel(outer,0.016,10)
|
| 120 |
+
apply_mods(outer)
|
| 121 |
+
inner=create_extruded_profile('cutter_inside',[(-0.164,0.036),(0.133,0.036),(0.127,0.435),(-0.024,0.435)],'yz',(-0.154,0.154),cream)
|
| 122 |
+
boolean(outer,inner)
|
| 123 |
+
opening=tilt(create_rounded_box('cutter_intake',(0,0.004,0.145),(0.304,0.050,0.281),0.003,dark))
|
| 124 |
+
boolean(outer,opening)
|
| 125 |
+
housing_shell.data=outer.data.copy()
|
| 126 |
+
housing_shell.matrix_world=outer.matrix_world.copy()
|
| 127 |
+
bpy.data.objects.remove(outer,do_unlink=True)
|
| 128 |
+
trough_cut=create_rounded_box('cutter_catch',(0,-0.148,0.105),(0.308,0.079,0.051),0.020,dark)
|
| 129 |
+
boolean(housing_shell,trough_cut)
|
| 130 |
+
basin=create_rounded_box('construction_basin',(0,-0.147,0.075),(0.310,0.078,0.030),0.012,cream)
|
| 131 |
+
apply_mods(basin)
|
| 132 |
+
pocket=create_rounded_box('cutter_basin',(0,-0.147,0.101),(0.296,0.064,0.050),0.014,cream)
|
| 133 |
+
boolean(basin,pocket)
|
| 134 |
+
backwall=create_rounded_box('construction_trough_back',(0,-0.136,0.092),(0.302,0.010,0.027),0.004,cream)
|
| 135 |
+
apply_mods(backwall)
|
| 136 |
+
union(basin,backwall)
|
| 137 |
+
union(housing_shell,basin)
|
| 138 |
+
vent_cut=create_rounded_box('cutter_exhaust',(0,0.080,0.446),(0.259,0.087,0.060),0.012,dark)
|
| 139 |
+
boolean(housing_shell,vent_cut)
|
| 140 |
+
bevel(housing_shell,0.0007,3)
|
| 141 |
+
metal=mat('Fixed hinge stainless',STEEL,0.82,0.29)
|
| 142 |
+
create_cylinder_between('Hinge axle',p(-0.163,0,0.006),p(0.163,0,0.006),0.0022,metal,vertices=48)
|
| 143 |
+
for x in [-0.158,0.158]:
|
| 144 |
+
tilt(create_rounded_box('Hinge mounting ear '+str(x),(x,0.002,0.006),(0.010,0.009,0.013),0.002,metal))
|
| 145 |
+
### End Part ###
|
| 146 |
+
|
| 147 |
+
### Part: filter ###
|
| 148 |
+
steel=mat('Brushed stainless filter frame',STEEL,0.85,0.31)
|
| 149 |
+
meshsteel=mat('Fine woven stainless wire',(0.35,0.37,0.36,1),0.8,0.38)
|
| 150 |
+
filter_panel=create_cover_panel('Filter perimeter frame',housing_shell,'inset','-z',0.007,0.0015,steel)
|
| 151 |
+
cut=create_rounded_box('cutter_filter_window',(0,-0.004,0.1455),(0.274,0.030,0.251),0.004,steel)
|
| 152 |
+
boolean(filter_panel,cut)
|
| 153 |
+
cut=create_rounded_box('cutter_finger_recess',(0,-0.003,0.274),(0.063,0.014,0.014),0.004,steel)
|
| 154 |
+
boolean(filter_panel,cut)
|
| 155 |
+
tilt(create_open_box('Recessed finger cup',(0,0.002,0.273),(0.063,0.010,0.016),0.001,'-y',steel))
|
| 156 |
+
cut=create_cylinder_between('cutter_hinge_bore',(-0.160,0,0.006),(0.160,0,0.006),0.0029,steel,vertices=48)
|
| 157 |
+
boolean(filter_panel,cut)
|
| 158 |
+
tilt(filter_panel)
|
| 159 |
+
bevel(filter_panel,0.0008,3)
|
| 160 |
+
woven_mesh(meshsteel)
|
| 161 |
+
backing=mat('Dark filter layers',(0.025,0.028,0.025,1),0.05,0.82)
|
| 162 |
+
tilt(create_rounded_box('Filter backing',(0,0.004,0.1455),(0.276,0.001,0.253),0.0004,backing))
|
| 163 |
+
for i,(x,length) in enumerate([(-0.139,0.020),(-0.113,0.031),(-0.059,0.073),(0.0,0.034),(0.053,0.067),(0.105,0.034),(0.138,0.025)]):
|
| 164 |
+
create_cylindrical_shell('Filter hinge knuckle '+str(i),p(x,0,0.006),0.0046,length,0.0018,2*math.pi,steel,axis='x',segments=32)
|
| 165 |
+
### End Part ###
|
| 166 |
+
|
| 167 |
+
### Part: controls ###
|
| 168 |
+
black=mat('Satin black touch control glass',(0.003,0.004,0.004,1),0,0.52)
|
| 169 |
+
white=mat('White control legends',(0.76,0.78,0.76,1),0.1,0.4)
|
| 170 |
+
tilt(panel('Continuous black control strip',0,-0.0015,0.314,0.281,0.030,0.014,0.003,black))
|
| 171 |
+
xs=[-0.072,-0.024,0.024,0.072]
|
| 172 |
+
z=0.314
|
| 173 |
+
arc_icon('Power ring',xs[0],z,0.0036,0.0043,math.pi*0.65,math.pi*2.35,white)
|
| 174 |
+
line_icon('Power stroke',[(xs[0],z+0.0056),(xs[0],z+0.0006)],white)
|
| 175 |
+
for k in range(3):
|
| 176 |
+
t=2*math.pi*k/3
|
| 177 |
+
arc_icon('Fan lobe '+str(k),xs[1]+0.0028*math.sin(t),z+0.0028*math.cos(t),0.0020,0.0021,0,2*math.pi,white)
|
| 178 |
+
for k in range(3):
|
| 179 |
+
arc_icon('Concentric mode '+str(k),xs[2],z,0.0012+0.00145*k,0.0012+0.00145*k,0,2*math.pi,white)
|
| 180 |
+
arc_icon('Light circle',xs[3],z,0.0030,0.0030,0,2*math.pi,white)
|
| 181 |
+
for k in range(8):
|
| 182 |
+
t=k*math.pi/4
|
| 183 |
+
line_icon('Light ray '+str(k),[(xs[3]+r*math.cos(t),z+r*math.sin(t)) for r in (0.0040,0.0055)],white)
|
| 184 |
+
### End Part ###
|
| 185 |
+
|
| 186 |
+
### Part: outlet ###
|
| 187 |
+
cream=mat('Ivory outlet grille',CREAM,0,0.32)
|
| 188 |
+
dark=mat('Exhaust interior',(0.018,0.021,0.020,1),0,0.65)
|
| 189 |
+
g=create_lofted_rect_sections('Top outlet grille',0.439,0.445,[[1,0,0.080,0.262,0.090,0.013],[1,0,0.080,0.262,0.090,0.013]],cream,corner_segments=8)
|
| 190 |
+
for i in range(5):
|
| 191 |
+
y=0.047+i*0.0165
|
| 192 |
+
for side in [-1,1]:
|
| 193 |
+
cut=create_rounded_box('cutter_slot',(side*0.063,y,0.443),(0.121,0.0122,0.030),0.004,dark)
|
| 194 |
+
boolean(g,cut)
|
| 195 |
+
bevel(g,0.0007,3)
|
| 196 |
+
create_cylindrical_shell('outlet_duct',(0,0.050,0.393),0.074,0.072,0.003,2*math.pi,dark,axis='z',segments=64)
|
| 197 |
+
create_cylinder_axis('Rotor axle',(0,0.050,0.395),0.010,0.047,'z',dark)
|
| 198 |
+
create_rounded_box('Motor support',(0,0.050,0.418),(0.101,0.008,0.006),0.001,dark)
|
| 199 |
+
for x in [-0.047,0.047]:
|
| 200 |
+
create_rounded_box('Exhaust supporting rib '+str(x),(x,0.079,0.425),(0.003,0.083,0.022),0.0006,dark)
|
| 201 |
+
### End Part ###
|
| 202 |
+
|
| 203 |
+
### Part: rotor ###
|
| 204 |
+
dark=mat('Dark blower rotor',(0.022,0.026,0.025,1),0.15,0.43)
|
| 205 |
+
create_cylindrical_shell('Rotor hub',(0,0.050,0.385),0.018,0.025,0.014,2*math.pi,dark,axis='z',segments=40)
|
| 206 |
+
for k in range(9):
|
| 207 |
+
t=k*2*math.pi/9
|
| 208 |
+
create_rounded_box('Rotor blade '+str(k),(0.042*math.cos(t),0.050+0.042*math.sin(t),0.386),(0.054,0.017,0.006),0.003,dark,rot=(0.24,0,t))
|
| 209 |
+
### End Part ###
|
| 210 |
+
|
| 211 |
+
### Part: feet ###
|
| 212 |
+
rubber=build_rich_material('Black rubber feet',material_class='rubber',base_color=(0.018,0.020,0.019,1),roughness=0.65)
|
| 213 |
+
for x in [-0.144,0.144]:
|
| 214 |
+
for y in [-0.144,0.111]:
|
| 215 |
+
create_tapered_cylinder('Rubber foot '+str((x,y)),(x,y,0.002),(x,y,0.029),0.016,0.019,rubber,vertices=48)
|
| 216 |
+
### End Part ###
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/articulation.blend
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7fcfdd8daf19d4e986395db09c49144d4e0a12b58c8f1d42382f7f1488a61ced
|
| 3 |
+
size 3061365
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/articulation.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/meta.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"object_id": "kit_portable_cooking_extractor-e4ecde3ca7--00013",
|
| 3 |
+
"category": "kit_portable_cooking_extractor",
|
| 4 |
+
"category_name": "Portable countertop cooking-fume extractor",
|
| 5 |
+
"domain": "Kitchen, food-processing and catering equipment",
|
| 6 |
+
"family": "Compact kitchen ventilation and air treatment",
|
| 7 |
+
"subfamily": "Portable food-preparation air treatment",
|
| 8 |
+
"part_count": 2,
|
| 9 |
+
"joint_count": 1,
|
| 10 |
+
"material_categories": [
|
| 11 |
+
"metal",
|
| 12 |
+
"plastic",
|
| 13 |
+
"rubber"
|
| 14 |
+
]
|
| 15 |
+
}
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/object.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f25f533f5e6d463cab2d4a9904e21bf80877b8c6a7dc4e86050a01aeee3709d9
|
| 3 |
+
size 17773084
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/object.urdf
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version='1.0' encoding='utf-8'?>
|
| 2 |
+
<robot name="source_motion_hypothesis">
|
| 3 |
+
<link name="stationary_base">
|
| 4 |
+
<visual>
|
| 5 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 6 |
+
<geometry>
|
| 7 |
+
<mesh filename="parts/stationary_base.glb" />
|
| 8 |
+
</geometry>
|
| 9 |
+
</visual>
|
| 10 |
+
</link>
|
| 11 |
+
<link name="tilting_head">
|
| 12 |
+
<visual>
|
| 13 |
+
<origin xyz="0 0 0" rpy="1.5707963267948966 0 0" />
|
| 14 |
+
<geometry>
|
| 15 |
+
<mesh filename="parts/tilting_head.glb" />
|
| 16 |
+
</geometry>
|
| 17 |
+
</visual>
|
| 18 |
+
</link>
|
| 19 |
+
<joint name="head_tilt" type="revolute">
|
| 20 |
+
<parent link="stationary_base" />
|
| 21 |
+
<child link="tilting_head" />
|
| 22 |
+
<origin xyz="0.0 0.005 0.102" rpy="0.0 0.0 0.0" />
|
| 23 |
+
<axis xyz="-1.0 0.0 0.0" />
|
| 24 |
+
<limit lower="-0.2617993878" upper="0.5235987756" effort="0.0" velocity="0.0" />
|
| 25 |
+
</joint>
|
| 26 |
+
</robot>
|
objects/kit_portable_cooking_extractor-e4ecde3ca7--00013/object.usdz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:556cc975fe229a221e726c6d0c550e9650b4826ecc23a3cef1980c43e87509d7
|
| 3 |
+
size 18701119
|