INSERT entity with xClip: copied instances have identical xClip data (except handle), how to compute actual clipping box coordinates?

Aperta
#770 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
28/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp
Ambito
backend

Direzione di ricerca

Start by examining the library's handling of INSERT entities and the xClip (SpatialFilter) data, especially Origin, BoundaryPoints, InsertTransform, and InverseInsertTransform. Compare those values for the original and copied INSERTs in the attached example drawing. The issue is resolved when the actual clipping-box coordinates can be derived from the stored data.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Thank you Dom, the new version has added support for the xClip data (SpatialFilter) of INSERT entities. However, I have a few questions when using it:

I created an INSERT entity with xClip data in AutoCAD, and then copied it. When reading the drawing, I noticed that the xClip data of the two INSERTs is almost identical — the only difference is the handle. Other properties such as Origin, BoundaryPoints, InsertTransform, and InverseInsertTransform are the same.

How can I calculate the actual coordinates of the clipping box from this data?

Image Image
Lingua principale
C#
Stelle
873
Fork
223
Merge medio
1g 15h
PR unite (30g)
28

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DomCR/ACadSharp

Tutte le issue di DomCR/ACadSharp

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.