Skip to content

Instantly share code, notes, and snippets.

View atul161's full-sized avatar
πŸ‘¨β€πŸ’»
Coder | Ambivert | Team Lead ! Solving real world problems!

atul anand atul161

πŸ‘¨β€πŸ’»
Coder | Ambivert | Team Lead ! Solving real world problems!
  • Gurgaon
  • 19:35 (UTC -12:00)
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
graph TD
A[Project Start] --> B[Clone & Audit Existing Repository]
B --> C[Code Review & Debugging]
C --> C1[Fix Bugs]
C --> C2[Refactor AI-generated Code]
C --> C3[Optimize Performance & Memory]
C --> C4[Input Validation & Error Handling]
C --> C5[Secure File Handling]
C5 --> D[PDF Tool Integration]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

IFC to GLB Conversion Pipeline

Architecture Diagram

graph TB
  subgraph Client
    A[User Upload IFC File]
  end
  
@atul161
atul161 / extract.py
Last active August 28, 2024 13:58
Data-exrteact
import os
import time
import uuid
import requests
from PIL import Image
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.common.exceptions import NoSuchElementException, TimeoutException, StaleElementReferenceException
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
#!/bin/bash
# We don't need return codes for "$(command)", only stdout is needed.
# Allow `[[ -n "$(command)" ]]`, `func "$(command)"`, pipes, etc.
# shellcheck disable=SC2312
set -u
abort() {
printf "%s\n" "$@" >&2