aws-cqc / aws-cqc/DeviceLayout.jl

SolidModel, postrender_ops() issue

Open
#155 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Julia
Stars
67
Forks
14
Avg merge
1d 16h
Merged PRs (30d)
21

Description

The following `postrender_ops` shows `Error : Difference failed - BOPAlgo_AlertTooFewArguments ` error.
```
(
"l1_gnd",
SolidModels.union_geom!,
("l1_gnd", "bump_surface",2,2),
),
(
"l2_gnd",
SolidModels.difference_geom!,
("l2_gnd", "l1_gnd",2,2),
:remove_object => true,
:remove_tool => false
)
```
However, after changing the group name of `union_geom!` from "l1_gnd" to something else, the error goes away.
```
(
"foo",
SolidModels.union_geom!,
("l1_gnd", "bump_surface",2,2),
),
(
"l2_gnd",
SolidModels.difference_geom!,
("l2_gnd", "foo",2,2),
:remove_object => true,
:remove_tool => false
)
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported postrender_ops sequence using SolidModels.union_geom! and SolidModels.difference_geom!, comparing the "l1_gnd" and "foo" group-name cases. Read the implementations of those operations and determine why reusing "l1_gnd" produces BOPAlgo_AlertTooFewArguments; done means the original group names no longer trigger the error while the geometry operations still produce the expected result.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.