The previous mail had a wrong link. The correct link is: https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/OtherPlugIns a) DrawRectBuilding_2.jar <https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/OtherPlugIns/DrawRectBuilding_2.jar/download>. The plugin b) DrawRectBuilding_2.zip <https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/OtherPlugIns/DrawRectBuilding_2.zip/download>. The source code
Il giorno dom 22 set 2024 alle ore 09:20 Giuseppe Aruta < giuseppe.ar...@gmail.com> ha scritto: > I made an upgrade to the plugin, simplified the code and separated the > source code from the plugin. > Both are available at the following link: > https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/OtherPlugIn > a) DrawRectBuilding_2.jar. The plugin > b) DrawRectBuilding_2.zip. The code > > I would like to add the panel that controls the input of coordinates as > part of OpenJUMP code > [image: image.png] > > This would be a benefit for other plugins. > The code class of this panel is located into the DrawRectBuilding_2.zip > (org.openjump.core.ui.components.CoordinatePanel.class) > > Il giorno sab 21 set 2024 alle ore 16:46 Giuseppe Aruta < > giuseppe.ar...@gmail.com> ha scritto: > >> The plugin is located into the 'PlugIn' menu under the voice: Draw >> rectangular shape >> >> Il giorno sab 21 set 2024 alle ore 16:42 Giuseppe Aruta < >> giuseppe.ar...@gmail.com> ha scritto: >> >>> Hi Jukka, >>> I made a prototype plugin to draw rotated rectangles of fixed >>> size,according to your mail. I recompiled some codes from my RasterTool >>> plugin. >>> You can download the jar at this link: Draw Rectangle building >>> <https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/OtherPlugIns/DrawRectBuilding.jar/download> >>> >>> How it works >>> The plugin opens a dialog which has the following options (on 5 lines) >>> from the top: >>> 1) A box to define the vector layer where to draw the rectangesù >>> 2) Panel for the center of rotation: a combination of two boxes for the >>> Lat/Lon (X/Y) coordinates followed by a button which opens a tool to pick >>> coordinates on the workbench (which are displayed into the previous 2 >>> boxes) >>> 3) Bow for the height of the rectangle >>> 4) Box for the width of the rectangle >>> 5) Box for the rotation angle in degrees. >>> After setting the parameters, click on the Apply button to draw the >>> geometry >>> >>> There is more work to do around, for instance the checks. >>> The code is embedded into the jar file. >>> >>> Best regards >>> Peppe >>> >>> >>> >>> Il giorno mar 17 set 2024 alle ore 15:39 edgar.soldin--- via >>> Jump-pilot-devel <jump-pilot-devel@lists.sourceforge.net> ha scritto: >>> >>>> hey Jukka, >>>> >>>> in case you want that tool extended feel free to reach out with >>>> specifics. >>>> >>>> sunny regards ..ede >>>> >>>> On 16.09.2024 21:23, Rahkonen Jukka wrote: >>>> > Hi, >>>> > >>>> > Actually, the Draw simple line CAD tool is very close to the >>>> non-rotated rectangle tool. With X and Y offsets it is possible to draw a >>>> diagonal line, and putting an envelope around it makes a rectangle. >>>> > >>>> > -Jukka- >>>> > >>>> > *Lähettäjä:* Giuseppe Aruta <giuseppe.ar...@gmail.com> >>>> > *Lähetetty:* maanantai 16. syyskuuta 2024 18.20 >>>> > *Vastaanottaja:* OpenJump develop and use < >>>> jump-pilot-devel@lists.sourceforge.net> >>>> > *Aihe:* Re: [JPP-Devel] Feature request: Draw rectangles with >>>> parameters >>>> > >>>> > Interesting case, the cad extension has a plugin to insert prefixed >>>> geometries at a defined size. It could be interesting to extend it. >>>> > >>>> > Il lun 16 set 2024, 15:50 edgar.soldin--- via Jump-pilot-devel < >>>> jump-pilot-devel@lists.sourceforge.net <mailto: >>>> jump-pilot-devel@lists.sourceforge.net>> ha scritto: >>>> > >>>> > hey Jukka, >>>> > >>>> > On 15.09.2024 19:49, Rahkonen Jukka wrote: >>>> > > Hi, >>>> > > >>>> > > I would like to have a tool for drawing fixed size rectangles >>>> with manually given parameters. The parameters would be: >>>> > > >>>> > > >>>> > > width >>>> > > >>>> > > height (= width by default) >>>> > > >>>> > > rotation angle (0 by default) >>>> > > >>>> > > optionally: >>>> > > >>>> > > coordinates of the centre point, or >>>> > > >>>> > > coordinates of the bottom-left corner (or some other corner, >>>> it does not really matter). >>>> > > >>>> > > If coordinates are not given manually, then mouse click would >>>> be used as the centre point or as the corner point. We have already a tool >>>> for drawing circles, and a couple of tools for drawing constrained >>>> polygons, but they are not handy for my need. What I am doing now is to >>>> write the polygons as WKT, or I digitize them with snap-to-grid option. >>>> > > >>>> > > BTW I have a non-GIS use case today, I would like to plan if >>>> it would be more optimal to buy 1220x2440 mm plywood sheets, or perhaps >>>> 1500x3000 mm sheets for my hobby project. Planning the placement of solar >>>> panels (for example 1720x1130 mm) could be another use case, or parking >>>> places, or whatever rectangular standard things that exist. >>>> > >>>> > i might be able to put something together. can you give a >>>> step-by-step workflow for how that tool would work? putting in those >>>> parameters on every draw is probably not something you aim for. having that >>>> and an idea for i time frame i could come up with a quote, being between >>>> jobs just now. >>>> > >>>> > will try to treat it better than the OGC-API support, that got >>>> stuck due to personal life being just what it was then :) >>>> > >>>> > sunny regards ..ede >>>> > >>>> > >>>> > >>>> > >>>> > _______________________________________________ >>>> > Jump-pilot-devel mailing list >>>> > Jump-pilot-devel@lists.sourceforge.net <mailto: >>>> Jump-pilot-devel@lists.sourceforge.net> >>>> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel < >>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel> >>>> > >>>> > >>>> > >>>> > _______________________________________________ >>>> > Jump-pilot-devel mailing list >>>> > Jump-pilot-devel@lists.sourceforge.net >>>> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>>> >>>> >>>> _______________________________________________ >>>> Jump-pilot-devel mailing list >>>> Jump-pilot-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>>> >>>
_______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel