Sender | Message | Time |
---|---|---|
31 Dec 2023 | ||
apirkle joined the room. | 16:44:56 | |
1 Jan 2024 | ||
shehabattia96 | Happy New Year everyone!! | 01:08:17 |
strayzor joined the room. | 03:25:12 | |
clairbee | Quick show of hands: 👍 if you use CadQuery on Windows, 👎 if you don't | 09:50:49 |
clairbee | * Quick show of hands to estimate the need to support Windows: 👍 if you use CadQuery on Windows, 👎 if you don't | 09:59:45 |
@linus:schreibt.jetzt left the room. | 11:19:47 | |
matrix638 joined the room. | 12:47:02 | |
d_eepdreamer | Download grafik.png | 17:52:59 |
d_eepdreamer | I look at the "more holes" example from the Cadquery quickstart and find it very elegant. However, I have a hard time when I try to generalize it. More specifically, I would like to replace the countersunk boreholes with more complex forms needing more than one command. As a simple example, think of a simple hole, combined with a triangular one, like in the screenshot. I found a way of doing that, but it's quite clumsy (see below). Is there a better, less verbose way? from ocp_vscode import * import cadquery as cq height = 60.0 width = 80.0 thickness = 10.0 diameter = 22.0 padding = 12.0 def get_objects(wp): return [x.objects[0] for x in wp.all()] # make the base result = ( cq.Workplane("XY") .box(height, width, thickness) .faces(">Z") .workplane() .hole(diameter) ) locations = get_objects( result.faces(">Z") .workplane() .rect(height - padding, width - padding, forConstruction=True) .vertices() ) result = result.newObject(locations).hole(4) result = result.newObject(locations).polygon(3, 6.5).cutThruAll() # Render the solid show_object(result) | 17:52:59 |
d_eepdreamer | * I look at the "more holes" example from the Cadquery quickstart and find it very elegant. However, I have a hard time when I try to generalize it. More specifically, I would like to replace the countersunk boreholes with more complex forms needing more than one command. As a simple example, think of a simple hole, combined with a triangular one, like in the screenshot. I found a way of doing that, but it's quite clumsy (see below). Is there a better, less verbose way? from ocp_vscode import * import cadquery as cq height = 60.0 width = 80.0 thickness = 10.0 diameter = 22.0 padding = 12.0 def get_objects(wp): return [x.objects[0] for x in wp.all()] result = ( cq.Workplane("XY") .box(height, width, thickness) .faces(">Z") .workplane() .hole(diameter) ) locations = get_objects( result.faces(">Z") .workplane() .rect(height - padding, width - padding, forConstruction=True) .vertices() ) result = result.newObject(locations).hole(4) result = result.newObject(locations).polygon(3, 6.5).cutThruAll() # Render the solid show_object(result) | 17:53:19 |
d_eepdreamer | * I look at the "more holes" example from the Cadquery quickstart and find it very elegant. However, I have a hard time when I try to generalize it. More specifically, I would like to replace the countersunk boreholes with more complex forms needing more than one command. As a simple example, think of a simple hole, combined with a triangular one, like in the screenshot. I found a way of doing that, but it's quite clumsy (see below). Is there a better, less verbose way? from ocp_vscode import * import cadquery as cq height = 60.0 width = 80.0 thickness = 10.0 diameter = 22.0 padding = 12.0 def get_objects(wp): return [x.objects[0] for x in wp.all()] result = ( cq.Workplane("XY") .box(height, width, thickness) .faces(">Z") .workplane() .hole(diameter) ) locations = get_objects( result.faces(">Z") .workplane() .rect(height - padding, width - padding, forConstruction=True) .vertices() ) result = result.newObject(locations).hole(4) result = result.newObject(locations).polygon(3, 6.5).cutThruAll() show_object(result) | 17:53:48 |
felix.haeberle | Grid Locations | 20:48:13 |
2 Jan 2024 | ||
clairbee | Quick show of hands to estimate the need | 07:16:41 |
mixer3d joined the room. | 11:23:27 | |
mixer3d changed their display name from onlyopen to mixer3d. | 11:24:08 | |
lucandia. changed their display name from lmonari to lucandia.. | 16:26:37 | |
weitzj joined the room. | 19:44:49 | |
3 Jan 2024 | ||
rawwerks joined the room. | 05:21:11 | |
felix.haeberle | Nice to see so many people jumping into this space | 17:12:17 |
4 Jan 2024 | ||
lishine1 joined the room. | 10:23:48 | |
regattaguru_70755 joined the room. | 13:55:05 | |
regattaguru joined the room. | 13:57:37 | |
jackfairhaven joined the room. | 15:11:09 | |
5 Jan 2024 | ||
meneelyt joined the room. | 12:17:21 | |
ewald7730 joined the room. | 15:08:42 | |
felix.haeberle | It dimensions are folded and threaded - so as much space as we need 🥳 | 17:28:29 |
mofef joined the room. | 22:26:10 | |
rlane joined the room. | 23:59:40 | |
6 Jan 2024 | ||
eyJhb set a profile picture. | 14:00:49 | |
ring_raitch joined the room. | 19:19:00 |