mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-15 15:20:37 -08:00
Updated Examples
This commit is contained in:
parent
78a73a9963
commit
f43dac38e2
56 changed files with 677 additions and 574 deletions
|
|
@ -24,7 +24,9 @@ license:
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
from build123d import *
|
||||
from ocp_vscode import show_object
|
||||
|
||||
# Simple through hole
|
||||
with BuildPart() as thru_hole:
|
||||
|
|
@ -52,8 +54,7 @@ with BuildPart() as flush_counter_sink:
|
|||
):
|
||||
CounterSinkHole(radius=1, counter_sink_radius=1.5)
|
||||
|
||||
if "show_object" in locals():
|
||||
show_object(thru_hole.part.wrapped, name="though hole")
|
||||
show_object(recessed_counter_bore.part.wrapped, name="recessed counter bore")
|
||||
show_object(recessed_counter_sink.part.wrapped, name="recessed counter sink")
|
||||
show_object(flush_counter_sink.part.wrapped, name="flush counter sink")
|
||||
show_object(thru_hole.part.wrapped, name="though hole")
|
||||
show_object(recessed_counter_bore.part.wrapped, name="recessed counter bore")
|
||||
show_object(recessed_counter_sink.part.wrapped, name="recessed counter sink")
|
||||
show_object(flush_counter_sink.part.wrapped, name="flush counter sink")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue