Skip to content

Allow Edge Color to be Set #558

@jmwright

Description

@jmwright

This is a spin-off issue from #557 and the relevant part of that issue is copied below.

The request is to have show_object respect the color setting for edges.

Here is the current behavior:

from cadquery.func import *

show_object(box(1, 1, 1), options={"color": "blue"})
show_object(segment((1, 0), (1, 5)), options={"color": "blue"})

show_object(box(1, 1, 1).moved(x=3))
show_object(segment((1, 0), (1, 5)).moved(x=3))

Color is applied to faces. Default edge color is black except for standalone edges.

Image

CC: @lorenzncode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions