Re: [kicad] Re: Multiple track dragging development

2023-09-18 Thread Stuart Tyler
gt;Parent() ); Regards Stuart Tyler Jon Evans wrote: Hi Stuart, The PNS router uses a proxy model of the board, and ITEM is the base class for these proxy representations. See pns_item.h You can get back to the BOARD_ITEM using Parent(), but you may not need to; the geometry of tracks will be represent

Re: [kicad] Re: Multiple track dragging development

2023-09-18 Thread Stuart Tyler
algorithm computations. Help appreciated. Regards Stuart Tyler Stuart Tyler wrote: Ok, I have spent some time looking at the branch, getting it to compile and understanding the multi-drag extension code. As you say this is not an implementation, but a demo of the integration. I have an algorithm impl

Re: [kicad] Re: Multiple track dragging development

2023-09-18 Thread Stuart Tyler
king local until I hear something from the team, and I understand if this is not soon. I will shout out if I work it out on my own. Regards Stuart Tyler Stuart Tyler wrote: Hi Tom, Was a great catch up with the developers in Spain. Thanks for prompting me about the below email and branch. I will ge

Re: [kicad] Re: Multiple track dragging development

2023-09-12 Thread Stuart Tyler
4:40 pm, Tomasz Wlostowski wrote: >On 18/07/2023 20:06, Stuart Tyler wrote: >> Hi Jon, >> >> Thanks for the feedback. Yes, I agree with all your points. I started > >> off copying drag track but backed out of this as I got stuck >accessing >> the multiple

Re: [kicad] Re: Multiple track dragging development

2023-07-18 Thread Stuart Tyler
next couple of days. I think your comparison is correct - I will attempt to follow its track movement and addition style - I now understand the algorithm and what is needed at least. Appreciate the pointer to looking at component dragger. Regards Stuart Tyler Jon Evans wrote: Hi Stuart, Some

[kicad] Re: Multiple track dragging development

2023-07-18 Thread Stuart Tyler
board->FinalizeBulkAdd( bulkAddedItems ); .. and later newBoardItem->SetModified(); Can anyone spot the issue with my code and why I would not get a track showing up? Ta Stuart On Saturday, July 15, 2023 at 1:29:04 PM UTC+1 Stuart Tyler wrote: > I have upda

[kicad] Re: Multiple track dragging development

2023-07-15 Thread Stuart Tyler
corner cases that need handling yet, but its probably useable once the track adds are fixed. Ta Stuart On Saturday, July 15, 2023 at 12:22:49 AM UTC+1 Stuart Tyler wrote: > Hi, > I have been busy extending pcbnew to include multiple track dragging > functionality. I have made some r

[kicad] Multiple track dragging development

2023-07-14 Thread Stuart Tyler
Hi, I have been busy extending pcbnew to include multiple track dragging functionality. I have made some reasonable progress in getting to understanding the problem and learning new stuff in c++ since I last used it, and lots of KiCad internals, and fun geometry. Anyway my code is a mess, but m

Re: [kicad] Multiple Track Dragging development investigations

2023-07-08 Thread Stuart Tyler
ugLog(). (But I’m sure there’s a more automated way to do it.) > > On 8 Jul 2023, at 15:58, Stuart Tyler wrote: > > Thank you for the tip on setting the launch environment variable > *KICAD_ALLOC_CONSOLE. > *That worked. Now I can see printf() output. > > Jeff, I have b

Re: [kicad] Multiple Track Dragging development investigations

2023-07-08 Thread Stuart Tyler
Thank you for the tip on setting the launch environment variable *KICAD_ALLOC_CONSOLE. *That worked. Now I can see printf() output. Jeff, I have been seeing the decorator stuff in the code. What is the standard way of turning this on? I also see LOGs being used. m_logger->Log(). I follow thi

Re: [kicad] Multiple Track Dragging development investigations

2023-07-08 Thread Stuart Tyler
o use pcbnew from the command line? Thanks Stuart On Monday, July 3, 2023 at 5:58:32 PM UTC+1 Stuart Tyler wrote: > Thank you all for those pointers. > > I suspected as much, and so it looks like off to cpp land I go. > > Thank you Tomasz Wlostowski for the pointer into th

Re: [kicad] pcbnew ctrl-M moveIndividually command destroys track segments

2023-07-08 Thread Stuart Tyler
Thank you for the hints from various people. I deleted my original fork and started again and it worked this time. I believe my merge request is in. Thanks for helping me out. Regards Stuart On Thursday, July 6, 2023 at 7:21:21 PM UTC+1 Stuart Tyler wrote: > Thank you for the guidance. Be

[kicad] Re: pcbnew ctrl-M moveIndividually command destroys track segments

2023-07-06 Thread Stuart Tyler
thing to do. I think I found an issue, and the solution, but what to do next - I have no idea. Regards Stuart On Thursday, July 6, 2023 at 3:27:09 PM UTC+1 Stuart Tyler wrote: > Hi, > I have my KiCad Windows development system going and browsing my way > through pcbnew, getting

[kicad] pcbnew ctrl-M moveIndividually command destroys track segments

2023-07-06 Thread Stuart Tyler
Hi, I have my KiCad Windows development system going and browsing my way through pcbnew, getting up to speed on the internal workings of moving and dragging. I think I have observed an issue in moveIndividually, the ctrl-M command. When you select multiple traces, the first trace is moved nicel

Re: [kicad] Multiple Track Dragging development investigations

2023-07-03 Thread Stuart Tyler
Thank you all for those pointers. I suspected as much, and so it looks like off to cpp land I go. Thank you Tomasz Wlostowski for the pointer into the code base where to start looking for the implementation. Agree - I am only attempting "mark collisions" mode. Personally I never use push/shove

[kicad] Multiple Track Dragging development investigations

2023-07-03 Thread Stuart Tyler
Hi, this is my first ever post here. I am really impressed with the development of KiCad over the past few releases. The python interface is really good and I am keen to learn. I have been designing PCBs for a few decades now and keen to help improve KiCad. I have seen some discussion on suppor