I am using Windows XP and the Help file does not work on it. I do not see the function for measuring an area in hectares or sq meters.Ĭan I load a bitmap image and draw on top of it? If this can be done by using LibreCAD it will enable many farmers to draw their own affordable farm maps instead of paying consultants to develope it for them.ĭo you think it will be possible to do this in LibreCAD? It is important to be able to measure the sizes of the different camps/paddocks, lands, etc. Then I draw my map on top of the background image. I measure the distances between the reference points that I added on the picture and then scale the size of the bitmap, untill the distances between the reference points are correct. Then I go to my CAD program (I am using All圜ad), I load the bitmap as a background image. Then I add placemarks as reference points on the GE image and I measure the horizontal- and vertical distances between the points and then save the bitmap image. My job is doing and teaching ranch/farm planning for farmers, which entails the drawing of a map of the ranch with the existing infrastructure (fences, paddocks, pipelines, roads, etc.) and then also draw new proposed improvements on the map. I am working for Department of Agriculture (Soil Conservation services) in South Africa and I want to try something different with LibreCAD. When your work is finished, you can create a pull request in the main repo.Īfter your branch is merged in the main repo, you can switch back to master, delete your dividePlugin branch and sync your master branch with the upstream (main repo).įind more details in github help: Now, as I have merged your commits, you have to update your fork to stay in sync.Ries, Firstly congratulations on a very good program. Git checkout -b dividePlugin masterThis will switch to the branch dividePlugin where you make your changes and commits. The workflow, when you work on your fork is to switch to a new branch. This will give conflicts and you can't easily sync your fork with the main repo. Then, when you work on your forks master branch, the main repo and your fork diverge. ![]() AUTHOR Anand DATE 2014-Nov-30 EDIT 2015-Feb-24 KEY electrical File:Electrical1-LCAD. This is not the common way, as it could happen, when you work on your fork, that the main repo is changed by commits. Electrical Engineering Representing electrical components, machines and controls, the parts in this library can be used by Electrical Engineers and Installers. This is how your plugin should handle it too, delete the origin and insert multiple smaller entities to create the split contour.Ĭongrats for joining github and pushing your first commits to your fork.įortunately I could merge your commits, because you committed on top of the latest main repo commit and the main repo wasn't changed meanwhile. The origin entity is deleted and two new entities are inserted in place of the previous entity. You can look at RS_Modification::cut() to see how the divide function works in LibreCAD. This is noted in the class header comment.Īnother way would be to implement method Plugin_Entity::split() like Plugin_Entity::rotate() or Plugin_Entity::scale() to split the original entity. What the plugin interface is missing, is a method to delete the origin entity (Document_Interface::deleteEntity()). on a new layer, to match the origin entity. What you can do with the current interface is to add entities, which represent the split entity.Īdditionally to the tick entities, add multiple lines or arcs, e.g. My research shows that the plugin interface lacks some function for your needs. ![]() There is no interface to communicate with command box from plugins. The command box is not the correct place for plugins to modify entities. You can also ping us on IRC channel #librecad or Zulip chat at Armin Don't hesitate to ask if anything is obscure, this can save time for all of us. No matter how you decide to go on, you're contribution is welcome. Otherwise, working on forked master branch will mess up things and makes automatic merging impossible. ![]() ![]() This allows automatic merge for us, which is much less time consuming.įor Windows you need git for Windows, which you find here: And I recommend TortoiseGit, a git GUI for git on Windows: All basics are explained on github: Important, when you go with git, is to work on a separate branch. So if you won't invest in learning some git basics, I would wait for a more final version to merge manually again.Ģ) If you are willing to give git a try, I can merge latest changes when you are ready for it and then you can continue with your own forked repository. If you want to put more work in your plugin, I see two ways.ġ) It is extra work for us to merge your contributions into code base manually, I won't do this too often. First let me say again, that your efforts are more than welcome!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |