Learning Record of OCC in Python | Display
Main Content: Background Color Callback AddClipPlane AIS_Shape HLR Mode Hide Boundary Lines Hide/Delete/Redisplay View Level Context Level Line Style Point Style Background Color from OCC.Display.SimpleGui import init_display from OCC.Core.BRepPrimAPI import BRepPrimAPI_MakeBox from OCC.Core.Quantity import ( Quantity_Color, Quantity_NOC_ALICEBLUE, Quantity_NOC_ANTIQUEWHITE, ) display, start_display, add_menu, add_function_to_menu = init_display() my_box = BRepPrimAPI_MakeBox(10.0, 20.0, 30.0).Shape() # Set the background of … Read more