Find Jobs
Hire Freelancers

Python 3d file conversion (OBJ file to custom)

$250-750 USD

Kapalı
İlan edilme: 6 yıldan fazla önce

$250-750 USD

Teslimde ödenir
Project should take an OBJ file (using pygame, pyopengl, or any other well supported library you may prefer) and run the following operations on it: Create an array imagining a set of smaller blocks (dimensions set via config file). The number of blocks in height is set via command args, and the width and depth of this array are then just as many as they need to be to cover the OBJ object (example below). Looping through the array, find each block that intersects with the OBJ object. Keep those blocks and discard the rest, creating essentially an array of binary blocks ("does this block intersect or not?"). Either as a secondary loop, or during the initial one: check the color/texturemap of each area that's inside a given block. Average the color and find the nearest match to a list of "good" colors (standard RGB values) in a config. Now we have an array of blocks with specified colors. Awesome. Nearly there. With the array, working from the lowest/bottom level, check each block with the level(s) above it. If there are three in a column that match color, flag the bottom of the three and remove two above it. Do this for each level (so one of these "three blocks" can start at any of the levels). Important note: While I envision this solution as basically "create a three dimensional array and loop through it", if you have a more clever way to solve this, as long as the output file is right, how to get there is not set. The output file is a fairly simple text file (extremely simple sample attached). It boils down to: 1. Small header 2. Bottom row of blocks, one line for each block. The line has location information, color, and a designator if it's a standard block, or one of the "three in a column" ones. 3. Line designating a new "step" 4. Next row of blocks, going up. [repeating 3-4 until reaching top of piece] 5. Ending line The full file format is described here: [login to view URL] But very little of this spec will be used. Of 'line types' only Line Type 1 will be, and no 3d transformations on the object will be done, just where the object is located (x y z) Example: The command line should then look somewhat like (may vary depending on how you read command args): > python [login to view URL] --file=[login to view URL] --colors=[login to view URL] --height=100 This would take my '[login to view URL]' file and map it to an array of blocks 100 high (making that array as wide and deep as needed) and colorizing the blocks to match that json file, saving it to a reasonable default like '[login to view URL]'. This process will have a couple of uses in the end, but the simplest, and easiest to visualize, is to convert an OBJ file into a set of Lego instructions. Three of the shorter "plates" of a Lego block can combine into one "brick", hence that secondary loop through the results. Moving them into a reduced color set allows us to make to available Lego blocks. The end file then becomes a set of Lego instructions to build the OBJ file at whatever height was specified. I have a .net version of this that completes step 1 (only) of this, making an array of blocks. It's not Python, and only does the beginning loop, but if helpful to visualize one solution to that part of things, I'm happy to provide it. I'll send a small set of OBJ files to test with. The default ratio of a block should be 1x1x0.4 (width x depth x height), but there should be some central config file that this can be changed with. Attached: simple ldr sample file (final file format) sample obj file with texture mapping as example source files
Proje No: 14468498

Proje hakkında

19 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 7 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
19 freelancers are bidding on average $570 USD for this job
Kullanıcı Avatarı
Ready to discuss further details as I am an expert in custom projects and scripts . Relevant Skills and Experience proven track record on this site Proposed Milestones $333 USD - milestone
$333 USD 10 gün içinde
4,8 (27 değerlendirme)
5,4
5,4
Kullanıcı Avatarı
Me and my team has 5 years of experience into Python/Django,iFrame/flask/Golang & Data Scraping or Web Crawling.                     Can very well execute this Project and can work at US hours.(MT)
$777 USD 3 gün içinde
4,6 (6 değerlendirme)
2,2
2,2
Kullanıcı Avatarı
hey :), when do you need the project done? -
$555 USD 9 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
Hello, We have accomplished 90% of the project which is similar of your requirement. All we need 10% customization as per your requirement set and specifications. I want to discuss in personal chat in order to explore your needs, which will yield a clear picture of implementation phase. Prior undertaking project, I want to show demo of the work done previously. Apart from demo, I will be sharing following documentation which will turn your project into Quality and Successful delivery: - Technical Project Proposal - Designs - Flow chart for this Project - Execution plan Thanks
$773 USD 15 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
I have more than 5 years of experience in several web technologies and mobile technologies I have checked the details shared by you and it will be done according to your need. Relevant Skills and Experience I have worked on similar requirement and am enough confident to take up this project. Looking forward to work with you. Proposed Milestones $555 USD - one
$555 USD 7 gün içinde
0,0 (1 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
Hello Sir, We have gone through the details you have provided and we have already worked on a similar project before and can deliver as u have mentioned and would be pleased to work on this with you to deliver the results that you have expected and we have already worked on a similar project before and can deliver as u have mentioned We are sure you will not be disappointed if you give us this opportunity. Our team is experienced, creative & efficient enough to get your job done well. We have an impeccable record and all our clients enjoy working with us, we are sure that you will too, our prices are cheapest in market. I am ready to discuss with you with best Regards
$616 USD 6 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
I tend to deliver high quality work within the same day with negligible margin of changes from your end (this is guaranteed) Relevant Skills and Experience We have designed and developed various websites in different domains. We provide complete solutions from website scratching to website development. Proposed Milestones $666 USD - Web Development
$666 USD 25 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
Very interesting project! Would be fun to work on! Relevant Skills and Experience Python, Mathematics, Complex algorithms Proposed Milestones $722 USD - Complete task Additional Services Offered $1 USD - Anything goes...
$722 USD 30 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
i can definitely do this. Have extensive experience in Python and pandas/numpy working with arrays. Ideally you have some input to desired output examples for the steps. Relevant Skills and Experience Python, arrays, loops, numpy, Panda's Proposed Milestones $833 USD - project
$833 USD 10 gün içinde
0,0 (0 değerlendirme)
0,0
0,0

Müşteri hakkında

   UNITED STATES bayrağı
Seattle, United States
4,9
8
Ödeme yöntemi onaylandı
Ara 5, 2010 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.