Iges parser - simple manipulating script
22 USDHello,
please reply only, if you have basic english knowledge as my ukrainian is still very below basic.
I need to make small changes to a lot of iges files. scaling, moving or rotating.
For this task, I need a small script, which can be wrapped in a linux shell-script.
This means it can be written in Javascript, Phyton, Perl , etc.
I think the most complicated part will be parsing the file, until you have an array with x,y,z of the points which has to be changed.
Actually there need to be only iges entity 128 and 126 parsed. All the rest can stay as it is.
moving should be clear. (just add the value and write back)
rotating around base point is also just some sinus / cosinus witch each coordinate,
The script should have 4 functions.
1. give bounding box of entities ( min and max of X, Y, Z )
2. move entities
3. rotate entities around zero-point.
4. scale entities.
-> the parameter to invoke the script should be executed in the same order.
-> output to console. so i can pipe it into a file or variable, or whatever I need.
For example:
(scriptname) inputfile.igs mx=5 rz=90 --> move in x 5 units, then rotate around z-axis 90°
attached is an example file:
column73 marks some blocks: S, G and D is not interesting . T also not.
P are entities.
Here All 5P belong together and are one entity (type 128).
Which values are what and where the XYZ coordinates of the points are, is written in iges format description.
https://wiki.eclipse.org/IGES_file_Specification
Applications 1
Current freelance projects in the category Data Parsing
Parsing products, preparation for import to WPScrape the full catalog of these websites: https://svit-mebliv.ua/ https://kompanit.com.ua/ru https://amia.com.ua/ https://mebliromax.com.ua/ https://pehotin.com.ua/catalog/ https://www.sokme.ua/ru/ All products need to be combined into one general table for import into WP.… Web Programming, Data Parsing ∙ 1 hour 43 minutes back ∙ 24 proposals |
I am looking for a programmer for OpenCart.Good day 1) It is necessary to implement on the website dneprkomfort.dp.ua A module for Ukrainian banks has been purchased, and we have already integrated Mono Bank Here is an example from our competitor It is necessary to implement installment payments, purchase in parts… Web Programming, Data Parsing ∙ 23 hours 4 minutes back ∙ 46 proposals |
A specialist in Telegram promotion is required.
28 USD
Tasks: invite real users from the username database to new chats and send messages to the target database. Only quality traffic and work with a live audience are of interest — performers using bots, fake engagement, or low-quality methods are requested NOT TO DISTURB. Work… Data Parsing, Social Media Marketing (SMM) ∙ 5 days 1 hour back ∙ 9 proposals |
Consultation on parsing Instagram account subscribersHello. It is necessary to conduct a preliminary assessment of the feasibility of the following task. I have a list of Instagram accounts. The goal is to obtain contact information (primarily email addresses) of users who follow these accounts. Previously, I encountered companies… Data Parsing ∙ 8 days 20 hours back ∙ 13 proposals |
A specialist is needed to find contacts of decision-makers in Ukraine.It is necessary to gather a database (or ready database) of contacts of decision-makers (DMs) in companies in Ukraine. Information Gathering, Data Parsing ∙ 9 days back ∙ 21 proposals |